mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +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:
@@ -19,9 +19,6 @@ void board_init_f(ulong dummy)
|
|||||||
{
|
{
|
||||||
board_early_init_f();
|
board_early_init_f();
|
||||||
board_early_init_r();
|
board_early_init_r();
|
||||||
|
|
||||||
/* Delay is required for clocks to be propagated */
|
|
||||||
udelay(1000000);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void ps_mode_reset(ulong mode)
|
static void ps_mode_reset(ulong mode)
|
||||||
|
@@ -326,6 +326,9 @@ int board_early_init_f(void)
|
|||||||
ret = psu_init();
|
ret = psu_init();
|
||||||
if (ret)
|
if (ret)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
|
/* Delay is required for clocks to be propagated */
|
||||||
|
udelay(1000000);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_DEBUG_UART
|
#ifdef CONFIG_DEBUG_UART
|
||||||
|
Reference in New Issue
Block a user