From patchwork Sat Oct 8 04:25:29 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 77382 Delivered-To: patch@linaro.org Received: by 10.140.97.247 with SMTP id m110csp501903qge; Fri, 7 Oct 2016 21:27:40 -0700 (PDT) X-Received: by 10.194.123.40 with SMTP id lx8mr23687934wjb.59.1475900860573; Fri, 07 Oct 2016 21:27:40 -0700 (PDT) Return-Path: Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id i205si5990126wma.131.2016.10.07.21.27.40; Fri, 07 Oct 2016 21:27:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) client-ip=85.214.87.163; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id A8138A7695; Sat, 8 Oct 2016 06:27:34 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id K5vdUFtQlyCt; Sat, 8 Oct 2016 06:27:34 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id B234AA76AF; Sat, 8 Oct 2016 06:26:53 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 6EB15A7609 for ; Sat, 8 Oct 2016 06:26:27 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id M9kKPe9YCE6P for ; Sat, 8 Oct 2016 06:26:27 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from conuserg-07.nifty.com (conuserg-07.nifty.com [210.131.2.74]) by theia.denx.de (Postfix) with ESMTPS id 96957A76F0 for ; Sat, 8 Oct 2016 06:25:57 +0200 (CEST) Received: from grover.sesame (FL1-111-169-71-157.osk.mesh.ad.jp [111.169.71.157]) (authenticated) by conuserg-07.nifty.com with ESMTP id u984PXpp027913; Sat, 8 Oct 2016 13:25:41 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-07.nifty.com u984PXpp027913 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1475900741; bh=AygKQbUma7VD1xF83piIkTT0+NqtqiNTwNNgo/XUsVc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mWKChU0J3FINrpSl55YJPvdCTgd28dW4TmhcoyIsMFnjwMaaTBwmevEXJ+5IIprIY yV/gO1EdaCiR7p7ItQt+DUSPclnKVqE7Z+Ch1Bwj7ISiDeHshxTU/AYmIdBeKHIs/a tDPpo9beH5FTmB1lsIroNIk8Hf/xQBP8vKuCJOyfDFslZGDfnDAuD7ITHLhUtRfg7r yfOGvPNE8vz08sy4UuwUeC/AMUPGwW5YgE54d34AGm+xfxnobPPesojD7jaqzFiTUD 9fXBD1pLT13P9BR+c4MCWCKMuJGcMZf1uiWk+d+yTO4QHxHF7p0ZAX+AVvd3usyHWd rIOZBOWY/j2aA== X-Nifty-SrcIP: [111.169.71.157] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Sat, 8 Oct 2016 13:25:29 +0900 Message-Id: <1475900731-10998-8-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1475900731-10998-1-git-send-email-yamada.masahiro@socionext.com> References: <1475900731-10998-1-git-send-email-yamada.masahiro@socionext.com> Cc: Albert Aribaud Subject: [U-Boot] [PATCH 7/9] ARM: uniphier: insert udelay() just before support_card_reset_deassert() X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" As for LD11/LD20, we can no longer rely on the udelay() in the PLL init functions. udelay(200) is needed here to keep the ethernet device in the reset state for enough time. Anyway, 200 usec is quite short for humans, so nobody cares it. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/micro-support-card.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) -- 1.9.1 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot diff --git a/arch/arm/mach-uniphier/micro-support-card.c b/arch/arm/mach-uniphier/micro-support-card.c index 04e6558..e53bcdf 100644 --- a/arch/arm/mach-uniphier/micro-support-card.c +++ b/arch/arm/mach-uniphier/micro-support-card.c @@ -60,9 +60,8 @@ void support_card_init(void) /* * After power on, we need to keep the LAN controller in reset state * for a while. (200 usec) - * Fortunately, enough wait time is already inserted in pll_init() - * function. So we do not have to wait here. */ + udelay(200); support_card_reset_deassert(); }