summaryrefslogtreecommitdiff
path: root/include/configs/omap4_sdp4430.h
diff options
context:
space:
mode:
authorSteve Sakoman <steve@sakoman.com>2010-10-27 05:04:30 -0700
committerSandeep Paulraj <s-paulraj@ti.com>2010-11-04 15:27:16 -0400
commit31bfcf1c5776df3d90286aa15104c45096d53dc6 (patch)
tree180f26babcb00be1591470666e90aca97ccc28fb /include/configs/omap4_sdp4430.h
parentca5f80ae97cdd211f9e6413369aaadee944f8cb6 (diff)
downloadu-boot-imx-31bfcf1c5776df3d90286aa15104c45096d53dc6.zip
u-boot-imx-31bfcf1c5776df3d90286aa15104c45096d53dc6.tar.gz
u-boot-imx-31bfcf1c5776df3d90286aa15104c45096d53dc6.tar.bz2
ARMV7: OMAP: 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. Based on an email discussion with Wolfgang Denk and Heiko Schocher. Signed-off-by: Steve Sakoman <steve.sakoman@linaro.org> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Diffstat (limited to 'include/configs/omap4_sdp4430.h')
-rw-r--r--include/configs/omap4_sdp4430.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/configs/omap4_sdp4430.h b/include/configs/omap4_sdp4430.h
index 26c380d..ed0bd41 100644
--- a/include/configs/omap4_sdp4430.h
+++ b/include/configs/omap4_sdp4430.h
@@ -232,6 +232,10 @@
#define CONFIG_NR_DRAM_BANKS 1
#define CONFIG_SYS_SDRAM_BASE 0x80000000
-#define CONFIG_SYS_INIT_SP_ADDR (LOW_LEVEL_SRAM_STACK - GENERATED_GBL_DATA_SIZE)
+#define CONFIG_SYS_INIT_RAM_ADDR 0x4030D800
+#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 */