]> git.ipfire.org Git - u-boot.git/blobdiff - board/xilinx/zynqmp/zynqmp.c
arm64: zynqmp: Call psu_init() only when ZYNQMP_PSU_INIT_ENABLED
[u-boot.git] / board / xilinx / zynqmp / zynqmp.c
index db557e88067447dca3669254aad5bc2a0c090002..6c8254b9824b2fca5693180f6ce1d67509129b66 100644 (file)
@@ -242,7 +242,7 @@ int board_early_init_f(void)
        zynqmp_pmufw_version();
 #endif
 
-#if defined(CONFIG_SPL_BUILD) || defined(CONFIG_ZYNQMP_PSU_INIT_ENABLED)
+#if defined(CONFIG_ZYNQMP_PSU_INIT_ENABLED)
        ret = psu_init();
 #endif