summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSanjeev Premi <premi@ti.com>2010-11-29 16:32:47 -0500
committerSandeep Paulraj <s-paulraj@ti.com>2010-11-29 16:32:47 -0500
commitf899198a7f7bff6e6b1ec9c3478c35fcede9a588 (patch)
tree84b796e6f36d4c3e2e0b9a3dfd8b6c87a538d3f0
parent84c611d33bebd4c37ee0dd8cd1e9468c75a9798b (diff)
downloadu-boot-imx-f899198a7f7bff6e6b1ec9c3478c35fcede9a588.zip
u-boot-imx-f899198a7f7bff6e6b1ec9c3478c35fcede9a588.tar.gz
u-boot-imx-f899198a7f7bff6e6b1ec9c3478c35fcede9a588.tar.bz2
omap3evm: Use GENERATED_GBL_DATA_SIZE
The macro CONFIG_SYS_GBL_DATA_SIZE has been replaced with GENERATED_GBL_DATA_SIZE. Also define macros: CONFIG_SYS_INIT_RAM_ADDR and CONFIG_SYS_INIT_RAM_SIZE. Based on changes for omap3_beagle in the commit: 31bfcf1c5776df3d90286aa15104c45096d53dc6 Signed-off-by: Sanjeev Premi <premi@ti.com> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
-rw-r--r--include/configs/omap3_evm.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/configs/omap3_evm.h b/include/configs/omap3_evm.h
index 84b2986..5bdb3fd 100644
--- a/include/configs/omap3_evm.h
+++ b/include/configs/omap3_evm.h
@@ -330,7 +330,11 @@ extern unsigned int boot_flash_type;
* Support for relocation
*/
#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)
/*
* Define the board revision statically