]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/mach-omap2/hwinit-common.c
omap3: incorrect logical check in do_emif4_init
[u-boot] / arch / arm / mach-omap2 / hwinit-common.c
index 7f6db3cf371648ed5658efc120039416ebb0eef5..7324d522ee6e06a61a9fc8f8860f4295bfbae9a5 100644 (file)
@@ -158,6 +158,15 @@ void early_system_init(void)
        do_io_settings();
 #endif
        setup_early_clocks();
+#ifdef CONFIG_SPL_BUILD
+       /*
+        * Save the boot parameters passed from romcode.
+        * We cannot delay the saving further than this,
+        * to prevent overwrites.
+        */
+       save_omap_boot_params();
+       spl_early_init();
+#endif
        do_board_detect();
        vcores_init();
 #ifdef CONFIG_DEBUG_UART_OMAP