From patchwork Tue May 26 08:20:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Looijmans X-Patchwork-Id: 246566 List-Id: U-Boot discussion From: mike.looijmans at topic.nl (Mike Looijmans) Date: Tue, 26 May 2020 10:20:26 +0200 Subject: [PATCH] board: xilinx/zynqmp: Remove 1-second delay at boot Message-ID: <20200526082026.18898-1-mike.looijmans@topic.nl> SPL boot is slow on the ZynqMP because of this delay. The initialization done in psu_init no longer requires an external delay, so this can be removed to speed up the SPL boot flow considerably. Signed-off-by: Mike Looijmans --- board/xilinx/zynqmp/zynqmp.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/board/xilinx/zynqmp/zynqmp.c b/board/xilinx/zynqmp/zynqmp.c index cb72914adb..d00235f236 100644 --- a/board/xilinx/zynqmp/zynqmp.c +++ b/board/xilinx/zynqmp/zynqmp.c @@ -32,7 +32,6 @@ #include #include #include -#include #include #include "../common/board.h" @@ -334,9 +333,6 @@ 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