[PATCH 09/11] ARM pcm037: Fix wrong sdram base
Sascha Hauer
s.hauer at pengutronix.de
Thu Jul 28 09:42:02 EDT 2011
got broken while switching the boards to sdram registration
helper.
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
arch/arm/boards/pcm037/pcm037.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/boards/pcm037/pcm037.c b/arch/arm/boards/pcm037/pcm037.c
index 6e20d1d..f011d48 100644
--- a/arch/arm/boards/pcm037/pcm037.c
+++ b/arch/arm/boards/pcm037/pcm037.c
@@ -240,7 +240,7 @@ static int imx31_devices_init(void)
imx31_add_nand(&nand_info);
register_device(&network_dev);
- sdram_dev = add_mem_device("ram0", IMX_SDRAM_CS1, SDRAM0 * 1024 * 1024,
+ sdram_dev = add_mem_device("ram0", IMX_SDRAM_CS0, SDRAM0 * 1024 * 1024,
IORESOURCE_MEM_WRITEABLE);
armlinux_add_dram(sdram_dev);
#ifndef CONFIG_PCM037_SDRAM_BANK1_NONE
--
1.7.5.4
More information about the barebox
mailing list