summaryrefslogtreecommitdiff
path: root/include/configs/mpc5121ads.h
diff options
context:
space:
mode:
authorAnatolij Gustschin <agust@denx.de>2010-04-24 19:27:08 +0200
committerWolfgang Denk <wd@denx.de>2010-04-24 22:56:35 +0200
commitb9947bbb08d0483be03004bdbce283b644471cb7 (patch)
tree888421b4d4be7a9ea2f32c85ee838a1e6c2dae10 /include/configs/mpc5121ads.h
parent5d937e8b59f27d8c300a2e78c168a4c22ec6922a (diff)
downloadu-boot-imx-b9947bbb08d0483be03004bdbce283b644471cb7.zip
u-boot-imx-b9947bbb08d0483be03004bdbce283b644471cb7.tar.gz
u-boot-imx-b9947bbb08d0483be03004bdbce283b644471cb7.tar.bz2
mpc5121: determine RAM size using get_ram_size()
Configure CONFIG_SYS_MAX_RAM_SIZE address range in DDR Local Access Window and determine the RAM size. Fix DDR LAW afterwards using detected RAM size. Signed-off-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'include/configs/mpc5121ads.h')
-rw-r--r--include/configs/mpc5121ads.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/mpc5121ads.h b/include/configs/mpc5121ads.h
index 8ecc9e1..5281042 100644
--- a/include/configs/mpc5121ads.h
+++ b/include/configs/mpc5121ads.h
@@ -85,6 +85,7 @@
#endif
#define CONFIG_SYS_DDR_BASE 0x00000000 /* DDR is system memory*/
#define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_BASE
+#define CONFIG_SYS_MAX_RAM_SIZE 0x20000000
#define CONFIG_SYS_IOCTRL_MUX_DDR 0x00000036