From: seedshope Date: Sat, 22 Jan 2011 10:06:13 +0000 (+0000) Subject: SMDK6400: Disable LED function in start.s on the nand booting X-Git-Tag: v2011.03-rc2~2^2~10 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9a3a49fb00a22324873f1e331379877ec3374962;p=oweals%2Fu-boot.git SMDK6400: Disable LED function in start.s on the nand booting 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 Signed-off-by: Minkyu Kang --- diff --git a/arch/arm/cpu/arm1176/start.S b/arch/arm/cpu/arm1176/start.S index 6ae118ac45..b095f22f68 100644 --- a/arch/arm/cpu/arm1176/start.S +++ b/arch/arm/cpu/arm1176/start.S @@ -356,9 +356,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