From mboxrd@z Thu Jan 1 00:00:00 1970 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 AFE9EC4332F for ; Sun, 20 Nov 2022 14:17:56 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 705DD85442; Sun, 20 Nov 2022 15:10:16 +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="GI7pbyLh"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 62DBB85334; Sun, 20 Nov 2022 15:09:29 +0100 (CET) Received: from mail-qv1-xf32.google.com (mail-qv1-xf32.google.com [IPv6:2607:f8b0:4864:20::f32]) (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 E782C85317 for ; Sun, 20 Nov 2022 15:09:18 +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-qv1-xf32.google.com with SMTP id i12so6517993qvs.2 for ; Sun, 20 Nov 2022 06:09:18 -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=J/ohh1bdjL6f2No3mceQgtbmuZNHBH6+zFCYssjOQpk=; b=GI7pbyLhCMnP6QkFWnIXIV1D2qz79A9PgEzwSPMBf8QI4tcvWW3uweyVPS/D5JOcyY S2xWyby1Rwu4JXuTC/Etl6PYwF1sv2M3ZilcQWMRk6bPBk58ELSzzJJ8bMxwl6i8WYvy eor7NZr4kxtotvr+Ix8cmS5CzyxT7t8Fb2N2A= 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=J/ohh1bdjL6f2No3mceQgtbmuZNHBH6+zFCYssjOQpk=; b=VeXrHGnTeWH0esfdg3CQG0RqXHfYOjIGkx9JH19fRi/MOiydNd7W8FqcTGO1gnubx7 NHSEpx62SphbbXZK9wSIdukptbHHbGb9oqCnJzywsOHKaoOYT+3EoC0ff/P1P087uxwJ TX8I+mfWkSUhU+3gN/VEPXi0630DfsxA3YV6+v4/ZaiGA2+rl7ZQMgSLuodfduZl1FIH bFRqGbgZ/c2T0vBIEceN8/uu0GYzN0j1OSfH+Erod5i/oB5h7v08H1NJUEQeuNs/p4ki DMTrjf8n2/yMFOoGLC4PPVHqTo0HixyrWOWSTUiO2jrwAdbMOGM0wD8e5D1k8Ll+ytq2 U3RA== X-Gm-Message-State: ANoB5plqKJqcLvPWlqDV39/+eUjvOP0rUokkRxCIWeLhg48bEjaOwzDX 7sYPu08RysTCgjQ/Xnrcsl35dD9MP5pK5Q== X-Google-Smtp-Source: AA0mqf5+iMqWq4/AEYeX2vp3qmVzhXk+feGkoKHwJJteQsE3QekruB5/RAxCuoFsc/rav7VS1J2HwQ== X-Received: by 2002:a0c:ea47:0:b0:4c6:9d1f:b250 with SMTP id u7-20020a0cea47000000b004c69d1fb250mr2671637qvp.99.1668953332462; Sun, 20 Nov 2022 06:08:52 -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:52 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PoC 146/241] global: Migrate CONFIG_PHY_ID to CFG Date: Sun, 20 Nov 2022 09:07:36 -0500 Message-Id: <20221120140829.3057894-37-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 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 Signed-off-by: Tom Rini --- board/egnite/ethernut5/ethernut5.c | 2 +- include/configs/ethernut5.h | 2 +- scripts/config_whitelist.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/board/egnite/ethernut5/ethernut5.c b/board/egnite/ethernut5/ethernut5.c index ceb0d2cf0aa3..9953df017e19 100644 --- a/board/egnite/ethernut5/ethernut5.c +++ b/board/egnite/ethernut5/ethernut5.c @@ -160,7 +160,7 @@ int board_eth_init(struct bd_info *bis) /* Set peripheral pins. */ at91_macb_hw_init(); /* Basic EMAC initialization. */ - if (macb_eth_initialize(0, (void *)ATMEL_BASE_EMAC0, CONFIG_PHY_ID)) + if (macb_eth_initialize(0, (void *)ATMEL_BASE_EMAC0, CFG_PHY_ID)) return -1; /* * Early board revisions have a pull-down at the PHY's MODE0 diff --git a/include/configs/ethernut5.h b/include/configs/ethernut5.h index 2859188e60c9..18c643478f76 100644 --- a/include/configs/ethernut5.h +++ b/include/configs/ethernut5.h @@ -48,7 +48,7 @@ /* JFFS2 */ /* Ethernet */ -#define CONFIG_PHY_ID 0 +#define CFG_PHY_ID 0 #define CFG_MACB_SEARCH_PHY /* MMC */ diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index ebbc0b068611..664b59d44050 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -155,7 +155,7 @@ CFG_PCIE_IMX_POWER_GPIO CFG_PEN_ADDR_BIG_ENDIAN CFG_PHY_BASE_ADR CFG_PHY_ET1011C_TX_CLK_FIX -CONFIG_PHY_ID +CFG_PHY_ID CONFIG_PHY_INTERFACE_MODE CONFIG_PHY_IRAM_BASE CONFIG_PL011_CLOCK -- 2.25.1