summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorThomas Weber <weber@corscience.de>2010-11-18 08:45:25 +0100
committerWolfgang Denk <wd@denx.de>2010-11-28 11:55:15 +0100
commit30f305c975eb530c7b04999d5f1f66664cbfb0d5 (patch)
treeebfcebc7d471d159c25b6746db104dfccaf72640 /include/configs
parent844f07d8a1f1330c97631b23fbf6425db2dc1508 (diff)
downloadu-boot-imx-30f305c975eb530c7b04999d5f1f66664cbfb0d5.zip
u-boot-imx-30f305c975eb530c7b04999d5f1f66664cbfb0d5.tar.gz
u-boot-imx-30f305c975eb530c7b04999d5f1f66664cbfb0d5.tar.bz2
Devkit8000: Fix build after introduction of GENERATED_GBL_DATA_SIZE
This patch fixes the issue by defining and using CONFIG_SYS_INIT_RAM_SIZE and CONFIG_SYS_INIT_RAM_ADDR. This patch adopts the commit 31bfcf1c5776df3d90286aa15104c45096d53dc6 from Steve Sakoman and Sandeep Paulraj on Devkit8000. Signed-off-by: Thomas Weber <weber@corscience.de>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/devkit8000.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/configs/devkit8000.h b/include/configs/devkit8000.h
index fa7a6c7..d898b77 100644
--- a/include/configs/devkit8000.h
+++ b/include/configs/devkit8000.h
@@ -308,6 +308,10 @@ extern unsigned int boot_flash_type;
#endif
#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1
-#define CONFIG_SYS_INIT_SP_ADDR (LOW_LEVEL_SRAM_STACK - CONFIG_SYS_GBL_DATA_SIZE)
+#define CONFIG_SYS_INIT_RAM_ADDR 0x4020f800
+#define CONFIG_SYS_INIT_RAM_SIZE 0x800
+#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_INIT_RAM_ADDR + \
+ CONFIG_SYS_INIT_RAM_SIZE - \
+ GENERATED_GBL_DATA_SIZE)
#endif /* __CONFIG_H */