Skip to contentSkip to conversation

arm1136 relocation: Fix calculation of board_init_r

PATCH New Fabio Estevam 2 participants 2 messages Feb 18, 2011 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm1136 relocation: Fix calculation of board_init_r

---
 arch/arm/cpu/arm1136/start.S |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/cpu/arm1136/start.S +1 -1
index bab2868..a05d36d 100644
@@ -266,7 +266,7 @@ _nand_boot_ofs:
 #else
 jump_2_ram:
 	ldr	r0, _board_init_r_ofs
-	adr	r1, _start
+	ldr     r1, _TEXT_BASE
 	add	lr, r0, r1
 	add	lr, lr, r9
 	/* setup parameters for board_init_r */
Signature · 1 line
1.6.0.4
#1 lore raw

PATCH 1/1 arm1136 relocation: Fix calculation of board_init_r

Le 18/02/2011 01:27, Fabio Estevam a ?crit :

Quoted 10 lines
---
  arch/arm/cpu/arm1136/start.S |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/cpu/arm1136/start.S +0 -0
index bab2868..a05d36d 100644

arch/arm/cpu/arm1136/start.S _nand_boot_ofs: · line 272

Quoted 8 lines
arch/arm/cpu/arm1136/start.S +1 -1
@@ -266,7 +266,7 @@ _nand_boot_ofs:
  #else
  jump_2_ram:
  	ldr	r0, _board_init_r_ofs
-	adr	r1, _start
+	ldr     r1, _TEXT_BASE
  	add	lr, r0, r1
  	add	lr, lr, r9
  	/* setup parameters for board_init_r */

Applied, thanks.

Amicalement,

Signature · 1 line
Albert.