arm relocation: Fix calculation of board_init_r

Signed-off-by: Alexander Stein <alexander.stein@informatik.tu-chemnitz.de>
This commit is contained in:
Alexander Stein 2011-02-03 10:52:29 +00:00 committed by Albert Aribaud
parent ee4bbbcb65
commit 6087f1a90c

View File

@ -281,7 +281,7 @@ _nand_boot_ofs:
.word nand_boot
#else
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 */