AM3517:Fix for ARM Relocation support
authorVaibhav Hiremath <hvaibhav@ti.com>
Mon, 29 Nov 2010 21:36:04 +0000 (16:36 -0500)
committerSandeep Paulraj <s-paulraj@ti.com>
Mon, 29 Nov 2010 21:36:04 +0000 (16:36 -0500)
Also change the CONFIG_SYS_TEXT_BASE to 0x80008000, required
with relocation support. This is the load address for primary
boot loader (x-loader).

Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
board/logicpd/am3517evm/config.mk
include/configs/am3517_evm.h

index 102d32b9131150903e88f07d2783fe9f20366e48..71ec5d0b14f8deb37f93a70d3aae2c9d0e1eddd3 100644 (file)
@@ -27,4 +27,4 @@
 # (mem base + reserved)
 
 # For use with external or internal boots.
-CONFIG_SYS_TEXT_BASE = 0x80e80000
+CONFIG_SYS_TEXT_BASE = 0x80008000
index 9a9ba8890771410f12c5e45911d362f29ee6ea70..3dda1e97e9dee008e6fd13908f3b5ece60f7cd51 100644 (file)
@@ -330,4 +330,10 @@ extern unsigned int boot_flash_sec;
 extern unsigned int boot_flash_type;
 #endif
 
+#define CONFIG_SYS_SDRAM_BASE          PHYS_SDRAM_1
+#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 */