aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/cpu/arm946es
diff options
context:
space:
mode:
authorLiu Hui-R64343 <r64343@freescale.com>2010-12-22 18:35:04 +0000
committerAlbert Aribaud <albert.aribaud@free.fr>2011-02-02 00:54:44 +0100
commit386ad72637ad781d22c2567b730761d2a18c8768 (patch)
tree3a384d50b238c81e7ae5a17f8d91dee665de2a9e /arch/arm/cpu/arm946es
parent3c0659b535b075be124c3d2a0714e55e65c46737 (diff)
downloadu-boot-linaro-stable-386ad72637ad781d22c2567b730761d2a18c8768.tar.gz
ARM: */start.S: code cleanup
Remove the useless code from start.S Signed-off-by: Jason Liu <r64343@freescale.com> Tested-by: Andreas BieƟmann <andreas.devel@googlemail.com>
Diffstat (limited to 'arch/arm/cpu/arm946es')
-rw-r--r--arch/arm/cpu/arm946es/start.S2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/cpu/arm946es/start.S b/arch/arm/cpu/arm946es/start.S
index f9c947024..296effc7b 100644
--- a/arch/arm/cpu/arm946es/start.S
+++ b/arch/arm/cpu/arm946es/start.S
@@ -173,7 +173,6 @@ stack_setup:
cmp r0, r6
beq clear_bss /* skip relocation */
mov r1, r6 /* r1 <- scratch for copy_loop */
- ldr r2, _TEXT_BASE
ldr r3, _bss_start_ofs
add r2, r0, r3 /* r2 <- source end address */
@@ -228,7 +227,6 @@ clear_bss:
#ifndef CONFIG_PRELOADER
ldr r0, _bss_start_ofs
ldr r1, _bss_end_ofs
- ldr r3, _TEXT_BASE /* Text base */
mov r4, r6 /* reloc addr */
add r0, r0, r4
add r1, r1, r4