浏览代码

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 <bocui107@gmail.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
seedshope 14 年之前
父节点
当前提交
9a3a49fb00
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      arch/arm/cpu/arm1176/start.S

+ 2 - 0
arch/arm/cpu/arm1176/start.S

@@ -356,9 +356,11 @@ clbss_l:str	r2, [r0]		/* clear loop...		    */
 	cmp	r0, r1
 	cmp	r0, r1
 	bne	clbss_l
 	bne	clbss_l
 
 
+#ifndef CONFIG_NAND_SPL
 	bl coloured_LED_init
 	bl coloured_LED_init
 	bl red_LED_on
 	bl red_LED_on
 #endif
 #endif
+#endif
 
 
 /*
 /*
  * We are done. Do not return, instead branch to second part of board
  * We are done. Do not return, instead branch to second part of board