From f8451f144e3d8fe704bd78416e93a68fd7781123 Mon Sep 17 00:00:00 2001 From: Michal Simek Date: Fri, 20 Mar 2020 08:59:02 +0100 Subject: arm64: zynqmp: Move timeout for clock propagation below psu_init Delay required for clock propagation is tighly coupled with initialization done in psu_init(). That's why call it also for u-boot proper with CONFIG_ZYNQMP_PSU_INIT_ENABLED enabled. Signed-off-by: Michal Simek --- board/xilinx/zynqmp/zynqmp.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'board/xilinx') diff --git a/board/xilinx/zynqmp/zynqmp.c b/board/xilinx/zynqmp/zynqmp.c index 04fd3bd0a44..eb1bc0861e2 100644 --- a/board/xilinx/zynqmp/zynqmp.c +++ b/board/xilinx/zynqmp/zynqmp.c @@ -326,6 +326,9 @@ int board_early_init_f(void) ret = psu_init(); if (ret) return ret; + + /* Delay is required for clocks to be propagated */ + udelay(1000000); #endif #ifdef CONFIG_DEBUG_UART -- cgit v1.2.3