summaryrefslogtreecommitdiff
path: root/arch/powerpc/cpu
diff options
context:
space:
mode:
authorYork Sun <yorksun@freescale.com>2014-04-30 14:43:48 -0700
committerYork Sun <yorksun@freescale.com>2014-05-13 08:31:22 -0700
commit8bae330f5c6542638da7136f39bc9c13214592cc (patch)
treeef7c8867efa18c2964702442d47d20d2e36fb4eb /arch/powerpc/cpu
parent701e640145474131161de53a407d95d0d2f77082 (diff)
downloadu-boot-imx-8bae330f5c6542638da7136f39bc9c13214592cc.zip
u-boot-imx-8bae330f5c6542638da7136f39bc9c13214592cc.tar.gz
u-boot-imx-8bae330f5c6542638da7136f39bc9c13214592cc.tar.bz2
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 <yorksun@freescale.com>
Diffstat (limited to 'arch/powerpc/cpu')
-rw-r--r--arch/powerpc/cpu/mpc86xx/start.S1
1 files changed, 1 insertions, 0 deletions
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