Patchwork [U-Boot] OMAP3: Zoom2: Fix ARM relocation support

login
register
mail settings
Submitter Dirk Behme
Date Nov. 29, 2010, 5:52 p.m.
Message ID <1291053167-12331-1-git-send-email-dirk.behme@gmail.com>
Download mbox | patch
Permalink /patch/73474/
State Accepted
Commit 998f4caf6fd63fdaa86ab0f91a1a3ed5b9cdfb22
Headers show

Comments

Dirk Behme - Nov. 29, 2010, 5:52 p.m.
Signed-off-by: Dirk Behme <dirk.behme@googlemail.com>
---

Compile tested only.

 board/logicpd/zoom2/config.mk |    2 +-
 include/configs/omap3_zoom2.h |    6 ++++++
 2 files changed, 7 insertions(+), 1 deletion(-)

Patch

Index: u-boot.git/board/logicpd/zoom2/config.mk
===================================================================
--- u-boot.git.orig/board/logicpd/zoom2/config.mk
+++ u-boot.git/board/logicpd/zoom2/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
Index: u-boot.git/include/configs/omap3_zoom2.h
===================================================================
--- u-boot.git.orig/include/configs/omap3_zoom2.h
+++ u-boot.git/include/configs/omap3_zoom2.h
@@ -188,6 +188,12 @@ 
 #define CONFIG_EXTRA_ENV_SETTINGS \
 	"usbtty=cdc_acm\0" \
 
+#define CONFIG_SYS_SDRAM_BASE		PHYS_SDRAM_1
+#define CONFIG_SYS_INIT_RAM_ADDR	0x4020f800
+#define CONFIG_SYS_INIT_RAM_SIZE	0x800
+#define CONFIG_SYS_INIT_SP_ADDR		(CONFIG_SYS_INIT_RAM_ADDR + \
+					 CONFIG_SYS_INIT_RAM_SIZE - \
+					 GENERATED_GBL_DATA_SIZE)
 /*
  * Miscellaneous configurable options
  */