Message ID | 20221120140829.3057894-37-trini@konsulko.com |
---|---|
State | RFC |
Delegated to: | Tom Rini |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> 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=<UNKNOWN>) 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=GI7pbyLh; 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 4NFXfv2jmZz23mR for <incoming@patchwork.ozlabs.org>; Mon, 21 Nov 2022 01:17:59 +1100 (AEDT) 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) 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-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 <u-boot@lists.denx.de>; 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 <u-boot@lists.denx.de>; 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 <u-boot@lists.denx.de> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Nov 2022 06:08:52 -0800 (PST) From: Tom Rini <trini@konsulko.com> 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 <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean |
Series |
None
|
expand
|
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
Signed-off-by: Tom Rini <trini@konsulko.com> --- board/egnite/ethernut5/ethernut5.c | 2 +- include/configs/ethernut5.h | 2 +- scripts/config_whitelist.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)