summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2020-03-20 08:59:02 +0100
committerMichal Simek <michal.simek@xilinx.com>2020-04-06 12:52:45 +0200
commitf8451f144e3d8fe704bd78416e93a68fd7781123 (patch)
tree256f146285c1c3c11a7cc287ceeb3abe0f0a4185 /board
parentc0adba572108677c23d6aa58173f9869ea3a5819 (diff)
downloadu-boot-f8451f144e3d8fe704bd78416e93a68fd7781123.tar.gz
u-boot-f8451f144e3d8fe704bd78416e93a68fd7781123.tar.bz2
u-boot-f8451f144e3d8fe704bd78416e93a68fd7781123.zip
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 <michal.simek@xilinx.com>
Diffstat (limited to 'board')
-rw-r--r--board/xilinx/zynqmp/zynqmp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/xilinx/zynqmp/zynqmp.c b/board/xilinx/zynqmp/zynqmp.c
index 04fd3bd0a4..eb1bc0861e 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