]> git.sur5r.net Git - u-boot/commitdiff
SMDK6400: Disable LED function in start.s on the nand booting
authorseedshope <bocui107@gmail.com>
Sat, 22 Jan 2011 10:06:13 +0000 (10:06 +0000)
committerAlbert Aribaud <albert.aribaud@free.fr>
Sun, 27 Mar 2011 17:19:21 +0000 (19:19 +0200)
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>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
arch/arm/cpu/arm1176/start.S

index 6ae118ac45a67c46501e659ffc9365868e1e91b1..b095f22f68d27cda53e1649d8e5f16ad9d02ebed 100644 (file)
@@ -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