projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf8ddac
)
powerpc/mpc85xx: Make boot flag effective
author
Tang Yuantian
<yuantian.tang@freescale.com>
Wed, 23 Jul 2014 09:27:52 +0000
(17:27 +0800)
committer
York Sun
<yorksun@freescale.com>
Tue, 12 Aug 2014 19:26:47 +0000
(12:26 -0700)
bootflag as a parameter is passed to board_init_f().
But it is not actually used in this function.
Make it effective by assigned it to gd->flags.
Signed-off-by: Tang Yuantian <Yuantian.Tang@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
arch/powerpc/lib/board.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/lib/board.c
b/arch/powerpc/lib/board.c
index 02962054f69edb9afc384a52522efb4c4d2d01da..6eaab882437dda464db83c2943669203a26f2998 100644
(file)
--- a/
arch/powerpc/lib/board.c
+++ b/
arch/powerpc/lib/board.c
@@
-366,6
+366,8
@@
void board_init_f(ulong bootflag)
memset((void *) gd, 0, sizeof(gd_t));
#endif
+ gd->flags = bootflag;
+
for (init_fnc_ptr = init_sequence; *init_fnc_ptr; ++init_fnc_ptr)
if ((*init_fnc_ptr) () != 0)
hang();