summaryrefslogtreecommitdiff
path: root/board/xilinx/zynqmp/zynqmp.c
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2017-07-12 13:08:41 +0200
committerMichal Simek <michal.simek@xilinx.com>2017-08-02 09:11:52 +0200
commit55de09292f140c82c6bc84beb7500696353ab11d (patch)
treedbf1ab3fb8cd709b2fa702b049414d27e9158c0e /board/xilinx/zynqmp/zynqmp.c
parentcb186e74fb795bf38037ae9734647a581d29c15a (diff)
arm64: zynqmp: Call psu_init from board_early_init_f
For some mini platforms there could be a need to include psu_init. That's why move it to board file instead of spl only file. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'board/xilinx/zynqmp/zynqmp.c')
-rw-r--r--board/xilinx/zynqmp/zynqmp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/board/xilinx/zynqmp/zynqmp.c b/board/xilinx/zynqmp/zynqmp.c
index 51a3d9f276..442637bcae 100644
--- a/board/xilinx/zynqmp/zynqmp.c
+++ b/board/xilinx/zynqmp/zynqmp.c
@@ -118,6 +118,11 @@ int board_early_init_f(void)
#if !defined(CONFIG_SPL_BUILD) && defined(CONFIG_CLK_ZYNQMP)
zynqmp_pmufw_version();
#endif
+
+#if defined(CONFIG_SPL_BUILD)
+ psu_init();
+#endif
+
return 0;
}