From patchwork Sun Nov 20 14:07:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1706863 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.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: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.a=rsa-sha256 header.s=google header.b=bOSGmW0v; dkim-atps=neutral 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 ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4NFXdT4XvPz23mR for ; Mon, 21 Nov 2022 01:16:45 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A151885426; Sun, 20 Nov 2022 15:10:05 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="bOSGmW0v"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C90CE8533D; Sun, 20 Nov 2022 15:09:26 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-qt1-x830.google.com (mail-qt1-x830.google.com [IPv6:2607:f8b0:4864:20::830]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 1361D85305 for ; Sun, 20 Nov 2022 15:09:17 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qt1-x830.google.com with SMTP id h21so5939218qtu.2 for ; Sun, 20 Nov 2022 06:09:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=tgi5O2vSCiL2uu7BDuNl+qYFbeiUMX0dzpYbUkbQt2I=; b=bOSGmW0v7cmNwTph2TQnIw4SEBg1ORt26AeByIonEUyPCR3XftmKTUzfMG4qJaAbov qQEJNYUbc3ocIfjYA2tCbN2+Kuo5SXEPnPI2EKxaYdt7vHUa3573MfroeeTVUce5KTbC +neG54nSRpYi/foHVsAmWoUqddHjw3mvnhfOg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=tgi5O2vSCiL2uu7BDuNl+qYFbeiUMX0dzpYbUkbQt2I=; b=t9AOc9yuLi/xVsHlUNA9Csz1327o6Cbi2tzkmXCo5jSyldA6G68eopZ3QUNRY6h/z9 ms2VxEEJH/lRmsor/yhIOezyHtqKxhguLppEK5FJemKji/UDRHOY9ORnXl3PyJVm+vxL VJmRo7fOFONpc2f16eTu6YXMAIAAhBlvtHVB+Yd7hLbRyGkD3QWnl4eh1FWCFbuMIjI1 ZQ+BVT78IYTojNNIj6YvIVsVz+sglOMJkurOjthC9IrvrsspxmWON0Mpxls6F+AcD0u9 o/sejc4m62SOsYfVBg6As6AjkMJ4hOZKgsCrI2wcVl4fgs4TQEDhx40tCtbjEoooUj+J HLCA== X-Gm-Message-State: ANoB5pmDDw1f9rCzBk190eRbPX8XXDYxITr/ezRHJ5oIIMRgcqXWFXQ2 0MtkBqtwiIsSVxinicABq7R/OPQz7sA2JQ== X-Google-Smtp-Source: AA0mqf4yzA3nXLZjR+ug3ZH+Ses2oqYZiSBoldpKExiE8D7TdGv9MMe2douL5Z+HrzM7xfBN3sxDjQ== X-Received: by 2002:ac8:6055:0:b0:3a5:4106:64e with SMTP id k21-20020ac86055000000b003a54106064emr13749000qtm.321.1668953331835; Sun, 20 Nov 2022 06:08:51 -0800 (PST) Received: from bill-the-cat.lan (2603-6081-7b00-6400-29a0-035f-b06a-235e.res6.spectrum.com. [2603:6081:7b00:6400:29a0:35f:b06a:235e]) by smtp.gmail.com with ESMTPSA id bk23-20020a05620a1a1700b006ce580c2663sm6387502qkb.35.2022.11.20.06.08.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Nov 2022 06:08:51 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PoC 145/241] global: Migrate CONFIG_PHY_ET1011C_TX_CLK_FIX to CFG Date: Sun, 20 Nov 2022 09:07:35 -0500 Message-Id: <20221120140829.3057894-36-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221120140829.3057894-1-trini@konsulko.com> References: <20221120135520.3057773-4-trini@konsulko.com> <20221120140829.3057894-1-trini@konsulko.com> MIME-Version: 1.0 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 Signed-off-by: Tom Rini --- drivers/net/phy/et1011c.c | 2 +- include/configs/ti814x_evm.h | 2 +- scripts/config_whitelist.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/phy/et1011c.c b/drivers/net/phy/et1011c.c index c243c5b72f81..7eff5ec7cacb 100644 --- a/drivers/net/phy/et1011c.c +++ b/drivers/net/phy/et1011c.c @@ -60,7 +60,7 @@ static int et1011c_parse_status(struct phy_device *phydev) mii_reg | ET1011C_GMII_INTERFACE | ET1011C_SYS_CLK_EN | -#ifdef CONFIG_PHY_ET1011C_TX_CLK_FIX +#ifdef CFG_PHY_ET1011C_TX_CLK_FIX ET1011C_TX_CLK_EN | #endif ET1011C_TX_FIFO_DEPTH_16); diff --git a/include/configs/ti814x_evm.h b/include/configs/ti814x_evm.h index 11e1936c2562..e67f2a2287de 100644 --- a/include/configs/ti814x_evm.h +++ b/include/configs/ti814x_evm.h @@ -97,6 +97,6 @@ */ /* Ethernet */ -#define CONFIG_PHY_ET1011C_TX_CLK_FIX +#define CFG_PHY_ET1011C_TX_CLK_FIX #endif /* ! __CONFIG_TI814X_EVM_H */ diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index 5788c297fc21..ebbc0b068611 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -154,7 +154,7 @@ CFG_PCIE_IMX_PERST_GPIO CFG_PCIE_IMX_POWER_GPIO CFG_PEN_ADDR_BIG_ENDIAN CFG_PHY_BASE_ADR -CONFIG_PHY_ET1011C_TX_CLK_FIX +CFG_PHY_ET1011C_TX_CLK_FIX CONFIG_PHY_ID CONFIG_PHY_INTERFACE_MODE CONFIG_PHY_IRAM_BASE