]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/mach-zynq/spl.c
sunxi: simplify ACTLR.SMP bit set #ifdef
[u-boot] / arch / arm / mach-zynq / spl.c
index 998896519baa52f7e500e22d9109d258d4369642..e8added155672f0905b3740b7ea6e55e605f7e09 100644 (file)
@@ -69,7 +69,7 @@ u32 spl_boot_device(void)
 }
 
 #ifdef CONFIG_SPL_MMC_SUPPORT
-u32 spl_boot_mode(void)
+u32 spl_boot_mode(const u32 boot_device)
 {
        return MMCSD_MODE_FS;
 }
@@ -91,6 +91,21 @@ __weak void ps7_init(void)
         */
 }
 
+__weak int ps7_post_config(void)
+{
+       /*
+        * This function is overridden by the one in
+        * board/xilinx/zynq/(platform)/ps7_init_gpl.c, if it exists.
+        */
+       return 0;
+}
+
+void spl_board_prepare_for_boot(void)
+{
+       ps7_post_config();
+       debug("SPL bye\n");
+}
+
 #ifdef CONFIG_SPL_LOAD_FIT
 int board_fit_config_name_match(const char *name)
 {