]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/mach-zynq/spl.c
sunxi: Add base address for GIC
[u-boot] / arch / arm / mach-zynq / spl.c
index 723019d25279b15dedfffac977eb98d9ab37d4f2..6c5415ac8f5360a936f2219e512f2258b8778061 100644 (file)
@@ -90,3 +90,28 @@ __weak void ps7_init(void)
         * board/xilinx/zynq/(platform)/ps7_init_gpl.c, if it exists.
         */
 }
+
+__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)
+{
+       /* Just empty function now - can't decide what to choose */
+       debug("%s: %s\n", __func__, name);
+
+       return 0;
+}
+#endif