[U-Boot] [PATCH] mmc: sdhci: rework Samsung specfic code

Minkyu Kang
2011-06-15T04:28:54Z

Dear Rob Herring,

On 14 June 2011 23:48, Rob Herring <robherring2@gmail.com> wrote:
> ?arch/arm/include/asm/arch-s5pc1xx/mmc.h ?| ? 73 ------------------------------
> ?arch/arm/include/asm/arch-s5pc2xx/cpu.h ?| ? ?4 ++
> ?arch/arm/include/asm/arch-s5pc2xx/mmc.h ?| ? 73 ------------------------------
> ?board/samsung/goni/goni.c ? ? ? ? ? ? ? ?| ? ?4 +-
> ?board/samsung/universal_c210/universal.c | ? ?6 +-
> ?drivers/mmc/sdhci.c ? ? ? ? ? ? ? ? ? ? ?| ? 31 +++++++------
> ?include/sdhci.h ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 62 +++++++++++++++++++++++++
> ?7 files changed, 88 insertions(+), 165 deletions(-)
> ?delete mode 100644 arch/arm/include/asm/arch-s5pc1xx/mmc.h
> ?delete mode 100644 arch/arm/include/asm/arch-s5pc2xx/mmc.h
> ?create mode 100644 include/sdhci.h
>
> --- a/arch/arm/include/asm/arch-s5pc2xx/cpu.h
> +++ b/arch/arm/include/asm/arch-s5pc2xx/cpu.h
> @@ -108,6 +108,10 @@ SAMSUNG_BASE(uart, UART_BASE)
> ?SAMSUNG_BASE(usb_phy, USBPHY_BASE)
> ?SAMSUNG_BASE(usb_otg, USBOTG_BASE)
> ?SAMSUNG_BASE(watchdog, WATCHDOG_BASE)
> +
> +#define samsung_get_base_mmc_offset(idx) ? ? ? (samsung_get_base_mmc() + \
> + ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?0x10000 * (idx))
> +
> ?#endif
>
> ?#endif /* _S5PC2XX_CPU_H */

Looks fine.
But, missing arch/arm/include/asm/arch-s5pc1xx/cpu.h

Dear Jaehoon,

Please test this patch on s5pc1xx and s5pc2xx.

Thanks
Minkyu Kang
--
from. prom.