powerpc/mpc86xx: Fix boot_flag for calling board_init_f()
authorYork Sun <yorksun@freescale.com>
Wed, 30 Apr 2014 21:43:48 +0000 (14:43 -0700)
committerYork Sun <yorksun@freescale.com>
Tue, 13 May 2014 15:31:22 +0000 (08:31 -0700)
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@freescale.com>
arch/powerpc/cpu/mpc86xx/start.S

index e33672a3a01a7cad17da38bb52ec19957812b06c..ec5f4a756af13f89e96258557ce4321d0378bc64 100644 (file)
@@ -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