[U-Boot,1/3] ARMV7: OMAP3: pandora: implement relocation

Submitted by Grazvydas Ignotas on Oct. 20, 2010, 9:41 p.m.

Details

Message ID 1287610920-23932-2-git-send-email-notasas@gmail.com
State Superseded
Delegated to: Sandeep Paulraj
Headers show

Commit Message

Grazvydas Ignotas Oct. 20, 2010, 9:41 p.m.
Fixes the build breakage introduced by the recent relocation
changes for ARMV7.

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
---
 board/pandora/config.mk         |    2 +-
 include/configs/omap3_pandora.h |    3 +++
 2 files changed, 4 insertions(+), 1 deletions(-)

Patch hide | download patch | download mbox

diff --git a/board/pandora/config.mk b/board/pandora/config.mk
index 0fab80c..4e6d074 100644
--- a/board/pandora/config.mk
+++ b/board/pandora/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_pandora.h b/include/configs/omap3_pandora.h
index 3308ace..1b6f5ba 100644
--- a/include/configs/omap3_pandora.h
+++ b/include/configs/omap3_pandora.h
@@ -244,6 +244,9 @@ 
 /* SDRAM Bank Allocation method */
 #define SDRC_R_B_C		1
 
+#define CONFIG_SYS_SDRAM_BASE		PHYS_SDRAM_1
+#define CONFIG_SYS_INIT_SP_ADDR		(LOW_LEVEL_SRAM_STACK - CONFIG_SYS_GBL_DATA_SIZE)
+
 /*-----------------------------------------------------------------------
  * FLASH and environment organization
  */