[U-Boot] ARMV7: OMAP3: Implement relocation for Overo

Steve Sakoman steve at sakoman.com
Thu Sep 30 19:31:54 CEST 2010


This patch fixes the build breakage introduced by the recent relocation
changes for ARMV7. It is based on the patch for Beagleboard.

Signed-off-by: Steve Sakoman <steve at sakoman.com>
---

diff --git a/board/overo/config.mk b/board/overo/config.mk
index d372fd9..59b651f 100644
--- a/board/overo/config.mk
+++ b/board/overo/config.mk
@@ -26,4 +26,4 @@
 # (mem base + reserved)
 
 # For use with external or internal boots.
-TEXT_BASE = 0x80e80000
+TEXT_BASE = 0x80008000
diff --git a/include/configs/omap3_overo.h b/include/configs/omap3_overo.h
index daa4515..49a0b95 100644
--- a/include/configs/omap3_overo.h
+++ b/include/configs/omap3_overo.h
@@ -324,4 +324,8 @@ extern unsigned int boot_flash_type;
 
 #endif /* (CONFIG_CMD_NET) */
 
+#undef CONFIG_SYS_ARM_WITHOUT_RELOC /* This board is tested with relocation support */
+#define CONFIG_SYS_SDRAM_BASE		PHYS_SDRAM_1
+#define CONFIG_SYS_INIT_SP_ADDR		(LOW_LEVEL_SRAM_STACK - CONFIG_SYS_GBL_DATA_SIZE)
+
 #endif				/* __CONFIG_H */



More information about the U-Boot mailing list