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: 1297803 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=topic.nl Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49WRk42PlMz9sSk for ; Tue, 26 May 2020 18:21:00 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6735A812E7; Tue, 26 May 2020 10:20:51 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=topic.nl Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id C141181583; Tue, 26 May 2020 10:20:49 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from jax4mhob18.registeredsite.com (jax4mhob18.registeredsite.com [64.69.218.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id AF84D8003B for ; Tue, 26 May 2020 10:20:44 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=topic.nl Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=mike.looijmans@topic.nl Received: from mailpod.hostingplatform.com ([10.30.71.204]) by jax4mhob18.registeredsite.com (8.14.4/8.14.4) with ESMTP id 04Q8KfcL123860 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Tue, 26 May 2020 04:20:41 -0400 Received: (qmail 18628 invoked by uid 0); 26 May 2020 08:20:41 -0000 X-TCPREMOTEIP: 83.128.90.119 X-Authenticated-UID: mike@milosoftware.com Received: from unknown (HELO phenom.domain?not?set.invalid) (mike@milosoftware.com@83.128.90.119) by 0 with ESMTPA; 26 May 2020 08:20:40 -0000 From: Mike Looijmans To: u-boot@lists.denx.de Cc: michal.simek@xilinx.com, Mike Looijmans Subject: [PATCH] board: xilinx/zynqmp: Remove 1-second delay at boot Date: Tue, 26 May 2020 10:20:26 +0200 Message-Id: <20200526082026.18898-1-mike.looijmans@topic.nl> X-Mailer: git-send-email 2.17.1 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.30rc1 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.2 at phobos.denx.de X-Virus-Status: Clean 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