summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSanjeev Premi <premi@ti.com>2010-11-04 16:01:46 -0400
committerSandeep Paulraj <s-paulraj@ti.com>2010-11-04 16:01:46 -0400
commit6a1e58eb6aa691ad45a36c57f1f241c25940fa0b (patch)
tree4337666a2e03754a4afefa06cc020d6821cf4753
parentac657c42af6b0bbc52a382667c1ab9fc26123c99 (diff)
downloadu-boot-imx-6a1e58eb6aa691ad45a36c57f1f241c25940fa0b.zip
u-boot-imx-6a1e58eb6aa691ad45a36c57f1f241c25940fa0b.tar.gz
u-boot-imx-6a1e58eb6aa691ad45a36c57f1f241c25940fa0b.tar.bz2
omap3evm: Support relocation
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>
-rw-r--r--board/ti/evm/config.mk2
-rw-r--r--include/configs/omap3_evm.h6
2 files changed, 7 insertions, 1 deletions
diff --git a/board/ti/evm/config.mk b/board/ti/evm/config.mk
index b92d3b0..d173eef 100644
--- a/board/ti/evm/config.mk
+++ b/board/ti/evm/config.mk
@@ -30,4 +30,4 @@
# (mem base + reserved)
# For use with external or internal boots.
-CONFIG_SYS_TEXT_BASE = 0x80e80000
+CONFIG_SYS_TEXT_BASE = 0x80008000
diff --git a/include/configs/omap3_evm.h b/include/configs/omap3_evm.h
index e925f3b..3ff66b5 100644
--- a/include/configs/omap3_evm.h
+++ b/include/configs/omap3_evm.h
@@ -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
*----------------------------------------------------------------------------