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

Jaehoon Chung
2011-06-15T08:40:32Z

Minkyu Kang wrote:
> On 15 June 2011 17:12, Jaehoon Chung <jh80.chung@samsung.com> wrote:
>> Tested-by: Jaehoon Chung <jh80.chung@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.

Sorry..my mistake..you're right.
Offset is 0x10_0000

Thanks,
Jaehoon chung