Merge branch '2020-05-18-reduce-size-of-common.h'
[oweals/u-boot.git] / arch / arm / mach-zynqmp / psu_spl_init.c
index b357de32358c61758e7fe75221690813855a7d71..5c5c7d136e77c1cf628d359c848015e5e055736b 100644 (file)
@@ -7,6 +7,7 @@
 #include <common.h>
 #include <asm/io.h>
 #include <asm/arch/psu_init_gpl.h>
+#include <linux/delay.h>
 
 #define PSU_MASK_POLL_TIME 1100000
 
@@ -77,3 +78,12 @@ __weak int psu_init(void)
         */
        return -1;
 }
+
+__weak unsigned long psu_post_config_data(void)
+{
+       /*
+        * This function is overridden by the one in
+        * board/xilinx/zynqmp/(platform)/psu_init_gpl.c, if it exists.
+        */
+       return 0;
+}