Skip to contentSkip to conversation

omap3evm: Support relocation

PATCH New Sanjeev Premi 2 participants 2 messages Oct 19, 2010 – Nov 3, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 omap3evm: Support relocation

This patch adds relocation support for omap3evm.
Content of the patch is based on changes for
Beagleboard.

---
 board/ti/evm/config.mk      |    2 +-
 include/configs/omap3_evm.h |    6 ++++++
 2 files changed, 7 insertions(+), 1 deletions(-)
board/ti/evm/config.mk +1 -1
index b92d3b0..d173eef 100644
@@ -30,4 +30,4 @@
 # (mem base + reserved)
 
 # For use with external or internal boots.
-CONFIG_SYS_TEXT_BASE = 0x80e80000
+CONFIG_SYS_TEXT_BASE = 0x80008000
include/configs/omap3_evm.h +6 -0
index c4aa220..cd38698 100644
@@ -345,6 +345,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
  *----------------------------------------------------------------------------
Signature · 1 line
1.7.2.2
#1 lore raw

PATCH 1/1 omap3evm: Support relocation

Quoted 7 lines

-----Original Message-----
From: Premi, Sanjeev
Sent: Tuesday, October 19, 2010 4:00 PM
To: u-boot at lists.denx.de
Cc: Premi, Sanjeev
Subject: [PATCH] omap3evm: Support relocation

Quoted 6 lines

This patch adds relocation support for omap3evm.
Content of the patch is based on changes for
Beagleboard.

---

Sandeep,

Pinging for status...

~sanjeev