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

Minkyu Kang promsoft at gmail.com
Wed Jun 15 10:29:00 CEST 2011


On 15 June 2011 17:12, Jaehoon Chung <jh80.chung at samsung.com> wrote:
> Tested-by: Jaehoon Chung <jh80.chung at samsung.com>
>
> But Mr.Kang mentioned missing arch/arm/include/asm/arch-s5pc1xx/cpu.h
> Need the below patch..
> (s5pc2xx and s5pc1xx are working well)
>
> diff --git a/arch/arm/include/asm/arch-s5pc1xx/cpu.h b/arch/arm/include/asm/arch-s5pc1xx/cpu.h
> index e74959f..86b7bd2 100644
> --- a/arch/arm/include/asm/arch-s5pc1xx/cpu.h
> +++ b/arch/arm/include/asm/arch-s5pc1xx/cpu.h
> @@ -94,6 +94,9 @@ SAMSUNG_BASE(mmc, MMC_BASE)
>  SAMSUNG_BASE(sromc, SROMC_BASE)
>  SAMSUNG_BASE(timer, PWMTIMER_BASE)
>  SAMSUNG_BASE(uart, UART_BASE)
> +
> +#define samsung_get_base_mmc_offset(idx)       (samsung_get_base_mmc() + \
> +                                                0x10000 * (idx))

I think.. offset is wrong.
In case of s5pc1xx, 0x10_0000 is right.
Please check.

Thanks
Minkyu Kang
-- 
from. prom.
www.promsoft.net


More information about the U-Boot mailing list