summaryrefslogtreecommitdiffstats
path: root/board/phytec/pcm051/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/phytec/pcm051/board.c')
-rw-r--r--board/phytec/pcm051/board.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/board/phytec/pcm051/board.c b/board/phytec/pcm051/board.c
index 43d7b6e15a..93c611dfc6 100644
--- a/board/phytec/pcm051/board.c
+++ b/board/phytec/pcm051/board.c
@@ -115,6 +115,15 @@ static struct emif_regs ddr3_emif_reg_data = {
void s_init(void)
{
/*
+ * Save the boot parameters passed from romcode.
+ * We cannot delay the saving further than this,
+ * to prevent overwrites.
+ */
+#ifdef CONFIG_SPL_BUILD
+ save_omap_boot_params();
+#endif
+
+ /*
* WDT1 is already running when the bootloader gets control
* Disable it to avoid "random" resets
*/
OpenPOWER on IntegriCloud