Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4B928C433EF for ; Fri, 15 Jul 2022 05:21:29 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 94F4684148; Fri, 15 Jul 2022 07:21:15 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=sholland.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=sholland.org header.i=@sholland.org header.b="KF1YXeM4"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="boqtM4Zu"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D394484120; Fri, 15 Jul 2022 07:21:07 +0200 (CEST) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 3761384121 for ; Fri, 15 Jul 2022 07:21:02 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=sholland.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=samuel@sholland.org Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 5B0115C003B; Fri, 15 Jul 2022 01:21:01 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Fri, 15 Jul 2022 01:21:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= cc:cc:content-transfer-encoding:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm1; t=1657862461; x=1657948861; bh=QK 8aDNDv5WwGmi+vR66YA1NTA9dY7gRBcJqh9mxB4oM=; b=KF1YXeM4WLaAl4rd9u 6UCAuevDsjJhnpSfznHzoFjkSZJt37Pclz9Q0V8N/lKlEKIY+rKDdU5UM/b3tcbu diMHAQSHMWQTpA2YtkXsY3575alcovqcWh+hKMCQNpt68ljJs9h/QRvym/oqhQPJ kdO1U4I2L9nZ1t7A/rNw6VY3JZVFhyag7cBpVo26EgeQRp0hfRPXTXFWPJ9tjRNl zEGS76VO40L1U2xohK7/2Rc9Ej1f9e+6R0zWl413LjYY1Szg05Votvdou7Us5CJL 6fGDyHdtsBu6jutwVZrxj43eiDjlwMOGdxh4SRf8HV4FU+/XO68a2L7t2x4YEdYy ABVw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; t=1657862461; x=1657948861; bh=QK8aDNDv5WwGm i+vR66YA1NTA9dY7gRBcJqh9mxB4oM=; b=boqtM4ZuJRtCgJLLSib5OqSlcLCRY 2B3lD3BfAWTl3WLm/ik04Pi6JSyFmWPSg0btbxJ4m3NkqJ+dtQ3I+5SJFbwjN066 H/SechH9qVm6Ru3P2zAJQyDm1KFOltwPlmkiF88LxZkyyN5yQ9ZdqNTVg2aNss1B Mgzmpar0RxchmlCblfZe7SPPYxvCokD+YfKjFoufYuulEnnR87XxpmyoYxoyVtdD ty0Ms0eMi2dO/UxmY/UPGorDQyO+vvY6uZb0YNthmZHTZnhCKrCwoya45BgXye7k d3HmSqmlu6Qwp8xDvoZgpysCg1eVhDrVZNGOoiukZAHPHarnQUIW7Fi2Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudektddgleduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomhepufgrmhhu vghlucfjohhllhgrnhguuceoshgrmhhuvghlsehshhholhhlrghnugdrohhrgheqnecugg ftrfgrthhtvghrnhepudekteeuudehtdelteevgfduvddvjefhfedulefgudevgeeghefg udefiedtveetnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepshgrmhhuvghlsehshhholhhlrghnugdrohhrgh X-ME-Proxy: Feedback-ID: i0ad843c9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 15 Jul 2022 01:21:00 -0400 (EDT) From: Samuel Holland To: u-boot@lists.denx.de, Jagan Teki , Andre Przywara Cc: Samuel Holland , Joe Hershberger , Ramon Fried Subject: [PATCH 1/3] net: sun8i-emac: Downgrade printf during probe to debug Date: Fri, 15 Jul 2022 00:20:56 -0500 Message-Id: <20220715052058.28405-2-samuel@sholland.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220715052058.28405-1-samuel@sholland.org> References: <20220715052058.28405-1-samuel@sholland.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.103.6 at phobos.denx.de X-Virus-Status: Clean This just prints the PHY mode taken from the devicetree. It does not need to be printed during every boot. Signed-off-by: Samuel Holland --- drivers/net/sun8i_emac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/sun8i_emac.c b/drivers/net/sun8i_emac.c index 2220f84b6978..a4b3492b7647 100644 --- a/drivers/net/sun8i_emac.c +++ b/drivers/net/sun8i_emac.c @@ -857,7 +857,7 @@ static int sun8i_emac_eth_of_to_plat(struct udevice *dev) priv->phyaddr = fdtdec_get_int(gd->fdt_blob, offset, "reg", -1); pdata->phy_interface = dev_read_phy_mode(dev); - printf("phy interface%d\n", pdata->phy_interface); + debug("phy interface %d\n", pdata->phy_interface); if (pdata->phy_interface == PHY_INTERFACE_MODE_NA) return -EINVAL; -- 2.35.1