summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorAlexander Stein <alexander.stein@informatik.tu-chemnitz.de>2011-02-03 10:52:29 +0000
committerAlbert Aribaud <albert.aribaud@free.fr>2011-02-21 08:30:55 +0100
commit6087f1a90cb2f275752496229b96f0e00aa0a7cd (patch)
treefca32b333cbf01fed1daf72be05af1e8e1856d19 /arch
parentee4bbbcb655607bb450f89cc026745596259b63c (diff)
downloadu-boot-imx-6087f1a90cb2f275752496229b96f0e00aa0a7cd.zip
u-boot-imx-6087f1a90cb2f275752496229b96f0e00aa0a7cd.tar.gz
u-boot-imx-6087f1a90cb2f275752496229b96f0e00aa0a7cd.tar.bz2
arm relocation: Fix calculation of board_init_r
Signed-off-by: Alexander Stein <alexander.stein@informatik.tu-chemnitz.de>
Diffstat (limited to 'arch')
-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 */