All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/2] powerpc/mpc85xx: Make boot flag effective
@ 2014-07-23  9:27 Yuantian.Tang at freescale.com
  2014-07-23  9:27 ` [U-Boot] [PATCH 2/2] powerpc/t104xrdb: support deep sleep in SPI/SD boot Yuantian.Tang at freescale.com
  2014-08-20 19:34 ` [U-Boot] [PATCH 1/2] powerpc/mpc85xx: Make boot flag effective York Sun
  0 siblings, 2 replies; 4+ messages in thread
From: Yuantian.Tang at freescale.com @ 2014-07-23  9:27 UTC (permalink / raw)
  To: u-boot

From: Tang Yuantian <yuantian.tang@freescale.com>

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>
---
 arch/powerpc/lib/board.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/powerpc/lib/board.c b/arch/powerpc/lib/board.c
index 50eb820..62a97a8 100644
--- a/arch/powerpc/lib/board.c
+++ b/arch/powerpc/lib/board.c
@@ -363,6 +363,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();
-- 
1.8.5

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-08-20 19:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-23  9:27 [U-Boot] [PATCH 1/2] powerpc/mpc85xx: Make boot flag effective Yuantian.Tang at freescale.com
2014-07-23  9:27 ` [U-Boot] [PATCH 2/2] powerpc/t104xrdb: support deep sleep in SPI/SD boot Yuantian.Tang at freescale.com
2014-08-20 19:35   ` York Sun
2014-08-20 19:34 ` [U-Boot] [PATCH 1/2] powerpc/mpc85xx: Make boot flag effective York Sun

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.