summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/arm926ejs/start.S
diff options
context:
space:
mode:
authorAlexander Stein <alexander.stein@informatik.tu-chemnitz.de>2011-02-03 10:52:29 (GMT)
committerAlbert Aribaud <albert.aribaud@free.fr>2011-02-21 07:30:55 (GMT)
commit6087f1a90cb2f275752496229b96f0e00aa0a7cd (patch)
treefca32b333cbf01fed1daf72be05af1e8e1856d19 /arch/arm/cpu/arm926ejs/start.S
parentee4bbbcb655607bb450f89cc026745596259b63c (diff)
downloadu-boot-fsl-qoriq-6087f1a90cb2f275752496229b96f0e00aa0a7cd.tar.xz
arm relocation: Fix calculation of board_init_r
Signed-off-by: Alexander Stein <alexander.stein@informatik.tu-chemnitz.de>
Diffstat (limited to 'arch/arm/cpu/arm926ejs/start.S')
-rw-r--r--arch/arm/cpu/arm926ejs/start.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/arm926ejs/start.S b/arch/arm/cpu/arm926ejs/start.S
index eb93ac9..f4c177e 100644
--- a/arch/arm/cpu/arm926ejs/start.S
+++ b/arch/arm/cpu/arm926ejs/start.S
@@ -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 */