From: York Sun Date: Wed, 30 Apr 2014 21:43:48 +0000 (-0700) Subject: powerpc/mpc86xx: Fix boot_flag for calling board_init_f() X-Git-Tag: v2014.07-rc2~18^2~2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8bae330f5c6542638da7136f39bc9c13214592cc;p=u-boot powerpc/mpc86xx: Fix boot_flag for calling board_init_f() 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 --- diff --git a/arch/powerpc/cpu/mpc86xx/start.S b/arch/powerpc/cpu/mpc86xx/start.S index e33672a3a0..ec5f4a756a 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