Skip to contentSkip to conversation

Devkit8000: Adapt changes to ARM relocation support

PATCH New Thomas Weber 2 participants 2 messages Oct 18, 2010 – Oct 20, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Devkit8000: Adapt changes to ARM relocation support

Fix compilation of Devkit8000 after introduction of ARM relocation support.

---
 board/timll/devkit8000/config.mk |    2 +-
 include/configs/devkit8000.h     |    3 +++
 2 files changed, 4 insertions(+), 1 deletions(-)
board/timll/devkit8000/config.mk +1 -1
index 6bfcef7..7f7b0ea 100644
@@ -32,4 +32,4 @@
 # (mem base + reserved)
 
 # For use with external or internal boots.
-TEXT_BASE = 0x80e80000
+TEXT_BASE = 0x80008000
include/configs/devkit8000.h +3 -0
index 2815771..bde8b0f 100644
@@ -306,4 +306,7 @@ extern unsigned int boot_flash_sec;
 extern unsigned int boot_flash_type;
 #endif
 
+#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 */
Signature · 1 line
1.7.3.1
#1 lore raw

PATCH 1/1 Devkit8000: Adapt changes to ARM relocation support

Dear Thomas Weber,

Quoted 24 lines · In message <[email protected]> you wrote:

Fix compilation of Devkit8000 after introduction of ARM relocation support.

---
 board/timll/devkit8000/config.mk |    2 +-
 include/configs/devkit8000.h     |    3 +++
 2 files changed, 4 insertions(+), 1 deletions(-)
board/timll/devkit8000/config.mk +1 -1
index 6bfcef7..7f7b0ea 100644
@@ -32,4 +32,4 @@
 # (mem base + reserved)
 
 # For use with external or internal boots.
-TEXT_BASE = 0x80e80000
+TEXT_BASE = 0x80008000
include/configs/devkit8000.h +0 -0
index 2815771..bde8b0f 100644

include/configs/devkit8000.h extern unsigned int boot_flash_sec; · line 310

Quoted 5 lines
include/configs/devkit8000.h +2 -0
@@ -306,4 +306,7 @@ extern unsigned int boot_flash_sec;
 extern unsigned int boot_flash_type;
 #endif
 
+#define CONFIG_SYS_SDRAM_BASE          PHYS_SDRAM_1
+#define CONFIG_SYS_INIT_SP_ADDR        (LOW_LEVEL_SRAM_STACK - CONFIG_SYS_GBL_DATA_SIZE)

Aplied (after adapting to recent rename TEXT_BASE => CONFIG_SYS_TEXT_BASE and after removing board/timll/devkit8000/config.mk)

Sandeep, hope this is OK with you.

Best regards,

Wolfgang Denk

Signature · 6 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"I can call spirits from the vasty deep."
"Why so can I, or so can any man; but will they come when you do call
for them?"          - Shakespeare, 1 King Henry IV, Act III, Scene I.