1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 00:32:04 +02:00

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>
This commit is contained in:
Michal Simek
2020-03-20 08:59:02 +01:00
parent c0adba5721
commit f8451f144e
2 changed files with 3 additions and 3 deletions

View File

@@ -19,9 +19,6 @@ void board_init_f(ulong dummy)
{
board_early_init_f();
board_early_init_r();
/* Delay is required for clocks to be propagated */
udelay(1000000);
}
static void ps_mode_reset(ulong mode)

View File

@@ -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