]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
omap3evm: Support relocation
authorSanjeev Premi <premi@ti.com>
Thu, 4 Nov 2010 20:01:46 +0000 (16:01 -0400)
committerSandeep Paulraj <s-paulraj@ti.com>
Thu, 4 Nov 2010 20:01:46 +0000 (16:01 -0400)
This patch adds relocation support for omap3evm.
Content of the patch is based on changes for
Beagleboard.

Signed-off-by: Sanjeev Premi <premi@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
board/ti/evm/config.mk
include/configs/omap3_evm.h

index b92d3b0544b90552015e5ab6d5809a71fa3d1c37..d173eef094f5e5b8657a99e5b5d1320660b13b70 100644 (file)
@@ -30,4 +30,4 @@
 # (mem base + reserved)
 
 # For use with external or internal boots.
-CONFIG_SYS_TEXT_BASE = 0x80e80000
+CONFIG_SYS_TEXT_BASE = 0x80008000
index e925f3bd2d63bafb4027f76c99c361a398b73e0d..3ff66b57d297480a746f75b39fc1a0fe1b83a271 100644 (file)
@@ -344,6 +344,12 @@ extern unsigned int boot_flash_sec;
 extern unsigned int boot_flash_type;
 #endif
 
+/*
+ * 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)
+
 /*----------------------------------------------------------------------------
  * SMSC9115 Ethernet from SMSC9118 family
  *----------------------------------------------------------------------------