]> git.sur5r.net Git - u-boot/blobdiff - board/ti/am335x/board.c
Merge branch 'master' of git://git.denx.de/u-boot-nand-flash
[u-boot] / board / ti / am335x / board.c
index b371376bc72c0f6d0b5c6118057065a6cd1679e4..ebddf0c7ca3275034583a3ac0db483575cfe4d39 100644 (file)
@@ -304,6 +304,15 @@ static struct emif_regs ddr3_evm_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
         */