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/arm920t/start.S | 2 -- 1 file changed, 2 deletions(-) (limited to 'arch/arm/cpu/arm920t/start.S') diff --git a/arch/arm/cpu/arm920t/start.S b/arch/arm/cpu/arm920t/start.S index 08f178d..6bccf61 100644 --- a/arch/arm/cpu/arm920t/start.S +++ b/arch/arm/cpu/arm920t/start.S @@ -211,7 +211,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 */ @@ -266,7 +265,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 From 009b54079e65ddf004041ccaccef3b8647ce8a0b Mon Sep 17 00:00:00 2001 From: Jens Scharsig Date: Sat, 18 Dec 2010 02:08:07 +0000 Subject: remove (double) LED initialization in arm920t start.s * remove LED initialization in front of relocation and bss init Signed-off-by: Jens Scharsig --- arch/arm/cpu/arm920t/start.S | 3 --- 1 file changed, 3 deletions(-) (limited to 'arch/arm/cpu/arm920t/start.S') diff --git a/arch/arm/cpu/arm920t/start.S b/arch/arm/cpu/arm920t/start.S index 6bccf61..2fc0abc 100644 --- a/arch/arm/cpu/arm920t/start.S +++ b/arch/arm/cpu/arm920t/start.S @@ -119,9 +119,6 @@ start_code: orr r0, r0, #0xd3 msr cpsr, r0 - bl coloured_LED_init - bl red_LED_on - #if defined(CONFIG_AT91RM9200DK) || defined(CONFIG_AT91RM9200EK) /* * relocate exception table -- cgit v1.1