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

Grazvydas Ignotas
2010-10-20T21:41:58Z

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(-)

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
*/
--
1.6.3.3