From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jaehoon Chung Date: Wed, 15 Jun 2011 17:40:32 +0900 Subject: [U-Boot] [PATCH] mmc: sdhci: rework Samsung specfic code In-Reply-To: References: <1308062890-16740-1-git-send-email-robherring2@gmail.com> <4DF8695D.3010403@samsung.com> Message-ID: <4DF87000.501@samsung.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Minkyu Kang wrote: > On 15 June 2011 17:12, Jaehoon Chung wrote: >> Tested-by: Jaehoon Chung >> >> 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