omap3evm: Use GENERATED_GBL_DATA_SIZE
authorSanjeev Premi <premi@ti.com>
Mon, 29 Nov 2010 21:32:47 +0000 (16:32 -0500)
committerSandeep Paulraj <s-paulraj@ti.com>
Mon, 29 Nov 2010 21:32:47 +0000 (16:32 -0500)
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>
include/configs/omap3_evm.h

index 84b29866bcc0c796c2c9d0a5c16d292a4dcba2a5..5bdb3fd9ed9efa61d6339b649f8fffd061d55b97 100644 (file)
@@ -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