summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTetsuyuki Kobayashi <koba@kmckk.co.jp>2012-07-05 01:43:44 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-10-03 02:04:22 +0200
commit9415cf93bc5ded82c6b915d5ab3b8c8f61a75c46 (patch)
tree7ab4fd310d4b4b0b6f877bb2ba16ba3f432ecef8 /include
parent8d811ca36a2a4096dd3ed0d64f2a22a247400737 (diff)
downloadu-boot-imx-9415cf93bc5ded82c6b915d5ab3b8c8f61a75c46.zip
u-boot-imx-9415cf93bc5ded82c6b915d5ab3b8c8f61a75c46.tar.gz
u-boot-imx-9415cf93bc5ded82c6b915d5ab3b8c8f61a75c46.tar.bz2
arm: rmobile: kzm9g: Modify sdram area
Reserve first 16MB for RT-CPU (as same as kernel config). Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'include')
-rw-r--r--include/configs/kzm9g.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/configs/kzm9g.h b/include/configs/kzm9g.h
index 7567d46..bcf2cd8 100644
--- a/include/configs/kzm9g.h
+++ b/include/configs/kzm9g.h
@@ -97,8 +97,9 @@
#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_INIT_RAM_ADDR + \
CONFIG_SYS_INIT_RAM_SIZE - \
GENERATED_GBL_DATA_SIZE)
-#define CONFIG_SYS_SDRAM_BASE KZM_SDRAM_BASE
-#define CONFIG_SYS_SDRAM_SIZE PHYS_SDRAM_SIZE
+#define CONFIG_SDRAM_OFFSET_FOR_RT (16 * 1024 * 1024)
+#define CONFIG_SYS_SDRAM_BASE (KZM_SDRAM_BASE + CONFIG_SDRAM_OFFSET_FOR_RT)
+#define CONFIG_SYS_SDRAM_SIZE (PHYS_SDRAM_SIZE - CONFIG_SDRAM_OFFSET_FOR_RT)
#define CONFIG_SYS_LOAD_ADDR (CONFIG_SYS_SDRAM_BASE + 32 * 1024 * 1024)
#define CONFIG_SYS_MONITOR_BASE (KZM_FLASH_BASE)