[U-Boot] [Patch v2 4/5] powerpc/mpc86xx: Fix boot_flag for calling board_init_f()

York Sun yorksun at freescale.com
Wed Apr 30 23:43:48 CEST 2014


The argument boot_flag of board_inti_f() hasn't been used for powerpc until
recent changing to use generic board. Set it to 0 as a proper value.

Signed-off-by: York Sun <yorksun at freescale.com>
---
change log

 v2: This is a new change.

 arch/powerpc/cpu/mpc86xx/start.S |    1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/powerpc/cpu/mpc86xx/start.S b/arch/powerpc/cpu/mpc86xx/start.S
index e33672a..ec5f4a7 100644
--- a/arch/powerpc/cpu/mpc86xx/start.S
+++ b/arch/powerpc/cpu/mpc86xx/start.S
@@ -273,6 +273,7 @@ diag_done:
 /*	bl	l2cache_enable */
 
 	/* run 1st part of board init code (from Flash)	  */
+	li	r3, 0		/* clear boot_flag for calling board_init_f */
 	bl	board_init_f
 	sync
 
-- 
1.7.9.5



More information about the U-Boot mailing list