修訂 | 0952ea16ad29c3975f6cf79435ccab4b588d4a86 (tree) |
---|---|
時間 | 2011-02-21 16:30:55 |
作者 | Fabio Estevam <festevam@gmai...> |
Commiter | Albert Aribaud |
arm1136 relocation: Fix calculation of board_init_r
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
@@ -266,7 +266,7 @@ _nand_boot_ofs: | ||
266 | 266 | #else |
267 | 267 | jump_2_ram: |
268 | 268 | ldr r0, _board_init_r_ofs |
269 | - adr r1, _start | |
269 | + ldr r1, _TEXT_BASE | |
270 | 270 | add lr, r0, r1 |
271 | 271 | add lr, lr, r9 |
272 | 272 | /* setup parameters for board_init_r */ |