summaryrefslogtreecommitdiff
path: root/include/configs/mx35pdk.h
diff options
context:
space:
mode:
authorStefano Babic <sbabic@denx.de>2011-08-02 14:42:36 +0200
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-09-04 11:36:11 +0200
commit6b5acfc12151ac151800375b447938cc4a4e86ff (patch)
treedca9135b68c8a7ad52597c580f1ede300789d56b /include/configs/mx35pdk.h
parent9691c5b96d889b1d4c8908c449b47d80699dc915 (diff)
downloadu-boot-imx-6b5acfc12151ac151800375b447938cc4a4e86ff.zip
u-boot-imx-6b5acfc12151ac151800375b447938cc4a4e86ff.tar.gz
u-boot-imx-6b5acfc12151ac151800375b447938cc4a4e86ff.tar.bz2
MX35: MX35PDK: support additional RAM on CSD1
Modules on mx35pdk have additional 128MB memory connected to CSD1. Signed-off-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'include/configs/mx35pdk.h')
-rw-r--r--include/configs/mx35pdk.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/configs/mx35pdk.h b/include/configs/mx35pdk.h
index 086355b..0d4b733 100644
--- a/include/configs/mx35pdk.h
+++ b/include/configs/mx35pdk.h
@@ -173,11 +173,11 @@
/*
* Physical Memory Map
*/
-#define CONFIG_NR_DRAM_BANKS 1
+#define CONFIG_NR_DRAM_BANKS 2
#define PHYS_SDRAM_1 CSD0_BASE_ADDR
#define PHYS_SDRAM_1_SIZE (128 * 1024 * 1024)
-#define iomem_valid_addr(addr, size) \
- (addr >= PHYS_SDRAM_1 && addr <= (PHYS_SDRAM_1 + PHYS_SDRAM_1_SIZE))
+#define PHYS_SDRAM_2 CSD1_BASE_ADDR
+#define PHYS_SDRAM_2_SIZE (128 * 1024 * 1024)
#define CONFIG_SYS_SDRAM_BASE CSD0_BASE_ADDR
#define CONFIG_SYS_INIT_RAM_ADDR (IRAM_BASE_ADDR + 0x10000)