diff mbox

[U-Boot,v5,5/6] SMDK6400: Disable LED function in start.s on the nand booting

Message ID 1295726774-5899-6-git-send-email-bocui107@gmail.com
State Accepted
Delegated to: Minkyu Kang
Headers show

Commit Message

seedshope Jan. 22, 2011, 8:06 p.m. UTC
Since nand boot have some limit for the first 4KB, We only
disable the LED function to reduce the code space. At the
same time, Fix the compile error for LED function undefined
in the compile time of nand_spl.

Signed-off-by: Zhong Hongbo <bocui107@gmail.com>

Comments

Minkyu Kang Feb. 17, 2011, 2:40 a.m. UTC | #1
On 23 January 2011 05:06, seedshope <bocui107@gmail.com> wrote:
> Since nand boot have some limit for the first 4KB, We only
> disable the LED function to reduce the code space. At the
> same time, Fix the compile error for LED function undefined
> in the compile time of nand_spl.
>
> Signed-off-by: Zhong Hongbo <bocui107@gmail.com>
>
applied to u-boot-samsung

Thanks
Minkyu Kang
diff mbox

Patch

diff --git a/arch/arm/cpu/arm1176/start.S b/arch/arm/cpu/arm1176/start.S
index 237dcfe..ae3706a 100644
--- a/arch/arm/cpu/arm1176/start.S
+++ b/arch/arm/cpu/arm1176/start.S
@@ -354,9 +354,11 @@  clbss_l:str	r2, [r0]		/* clear loop...		    */
 	cmp	r0, r1
 	bne	clbss_l
 
+#ifndef CONFIG_NAND_SPL
 	bl coloured_LED_init
 	bl red_LED_on
 #endif
+#endif
 
 /*
  * We are done. Do not return, instead branch to second part of board