diff options
author | Heiko Schocher <hs@denx.de> | 2010-10-11 14:08:14 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-10-13 10:12:01 +0200 |
commit | 9710504d200599a6e7e7ac0046adca43cfccaf0f (patch) | |
tree | b9c02af8426938a33e92956fa5a1b46d7c0881c9 /arch/arm/cpu | |
parent | 4a8fd13af82b7b37099fea3d12ea52e5bcc151a5 (diff) | |
download | u-boot-imx-9710504d200599a6e7e7ac0046adca43cfccaf0f.zip u-boot-imx-9710504d200599a6e7e7ac0046adca43cfccaf0f.tar.gz u-boot-imx-9710504d200599a6e7e7ac0046adca43cfccaf0f.tar.bz2 |
arm926ejs, tx25: add support for ELF relocations
Signed-off-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'arch/arm/cpu')
-rw-r--r-- | arch/arm/cpu/arm926ejs/start.S | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/cpu/arm926ejs/start.S b/arch/arm/cpu/arm926ejs/start.S index 49ca839..e882487 100644 --- a/arch/arm/cpu/arm926ejs/start.S +++ b/arch/arm/cpu/arm926ejs/start.S @@ -279,10 +279,10 @@ clbss_l:str r2, [r0] /* clear loop... */ */ #ifdef CONFIG_NAND_SPL ldr r0, _nand_boot_ofs - adr r1, _start - add pc, r0, r1 -_nand_boot_ofs - : .word nand_boot - _start + mov pc, r0 + +_nand_boot_ofs: + .word nand_boot #else ldr r0, _board_init_r_ofs adr r1, _start |