arm1136 relocation: Fix calculation of board_init_r
authorFabio Estevam <festevam@gmail.com>
Thu, 17 Feb 2011 14:27:41 +0000 (14:27 +0000)
committerAlbert Aribaud <albert.aribaud@free.fr>
Mon, 21 Feb 2011 07:30:55 +0000 (08:30 +0100)
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
arch/arm/cpu/arm1136/start.S

index bab2868488f3fc2681ce17b1df10d954060e1bca..a05d36d726284345d41942bd4c6a58601f4194ab 100644 (file)
@@ -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 */