public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] arm: omap3: Detect boot mode very early
@ 2017-07-14 13:53 Adam Ford
  2017-07-25  0:44 ` [U-Boot] " Tom Rini
  2017-07-25  2:08 ` [U-Boot] [PATCH] " Siarhei Siamashka
  0 siblings, 2 replies; 8+ messages in thread
From: Adam Ford @ 2017-07-14 13:53 UTC (permalink / raw)
  To: u-boot

Fixes 4bd754d8abef ("arm: omap: Detect boot mode very early") where
the intent was to store the boot params information in a known
location and pass it to SPL very early. Unfortunately it didn't
account for OMAP3 boards.

This patch adds adds this functionality back into OMAP3 boards.

Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Adam Ford <aford173@gmail.com>

diff --git a/arch/arm/mach-omap2/omap3/board.c b/arch/arm/mach-omap2/omap3/board.c
index cd8e302..a61b933 100644
--- a/arch/arm/mach-omap2/omap3/board.c
+++ b/arch/arm/mach-omap2/omap3/board.c
@@ -212,6 +212,12 @@ void board_init_f(ulong dummy)
 {
 	early_system_init();
 	mem_init();
+	/*
+	* Save the boot parameters passed from romcode.
+	* We cannot delay the saving further than this,
+	* to prevent overwrites.
+	*/
+	save_omap_boot_params();
 }
 #endif
 
-- 
2.7.4

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

end of thread, other threads:[~2017-07-30  8:39 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-14 13:53 [U-Boot] [PATCH] arm: omap3: Detect boot mode very early Adam Ford
2017-07-25  0:44 ` [U-Boot] " Tom Rini
2017-07-25  2:08 ` [U-Boot] [PATCH] " Siarhei Siamashka
2017-07-25  6:30   ` Lokesh Vutla
2017-07-25 10:19     ` Siarhei Siamashka
2017-07-27 20:40       ` Paul Kocialkowski
2017-07-27 20:44         ` Adam Ford
2017-07-30  8:39           ` Paul Kocialkowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox