summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/arm1136
diff options
context:
space:
mode:
authorFabio Estevam <festevam@gmail.com>2011-02-17 14:27:41 +0000
committerAlbert Aribaud <albert.aribaud@free.fr>2011-02-21 08:30:55 +0100
commit0952ea16ad29c3975f6cf79435ccab4b588d4a86 (patch)
tree1ce58ddeb51627c479fd523bc8b456ff56f1eeb7 /arch/arm/cpu/arm1136
parent428f7188890e29e5ad78306e800ff9a61ad037cf (diff)
downloadu-boot-imx-0952ea16ad29c3975f6cf79435ccab4b588d4a86.zip
u-boot-imx-0952ea16ad29c3975f6cf79435ccab4b588d4a86.tar.gz
u-boot-imx-0952ea16ad29c3975f6cf79435ccab4b588d4a86.tar.bz2
arm1136 relocation: Fix calculation of board_init_r
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Diffstat (limited to 'arch/arm/cpu/arm1136')
-rw-r--r--arch/arm/cpu/arm1136/start.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/arm1136/start.S b/arch/arm/cpu/arm1136/start.S
index bab2868..a05d36d 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 */