From 386ad72637ad781d22c2567b730761d2a18c8768 Mon Sep 17 00:00:00 2001 From: Liu Hui-R64343 Date: Wed, 22 Dec 2010 18:35:04 +0000 Subject: ARM: */start.S: code cleanup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove the useless code from start.S Signed-off-by: Jason Liu Tested-by: Andreas Bießmann --- arch/arm/cpu/arm925t/start.S | 2 -- 1 file changed, 2 deletions(-) (limited to 'arch/arm/cpu/arm925t') diff --git a/arch/arm/cpu/arm925t/start.S b/arch/arm/cpu/arm925t/start.S index 2c0c869..20ecdd5 100644 --- a/arch/arm/cpu/arm925t/start.S +++ b/arch/arm/cpu/arm925t/start.S @@ -202,7 +202,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 */ @@ -257,7 +256,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 -- cgit v1.1