From: Fabio Estevam Date: Thu, 17 Feb 2011 14:27:41 +0000 (+0000) Subject: arm1136 relocation: Fix calculation of board_init_r X-Git-Tag: v2011.03-rc2~27 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0952ea16ad29c3975f6cf79435ccab4b588d4a86;p=oweals%2Fu-boot.git arm1136 relocation: Fix calculation of board_init_r Signed-off-by: Fabio Estevam --- diff --git a/arch/arm/cpu/arm1136/start.S b/arch/arm/cpu/arm1136/start.S index bab2868488..a05d36d726 100644 --- a/arch/arm/cpu/arm1136/start.S +++ b/arch/arm/cpu/arm1136/start.S @@ -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 */