get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/1.1/patches/2225158/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2225158,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2225158/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20260420-net-kconfig-v1-2-9900002d8e72@cherry.de/",
    "project": {
        "id": 18,
        "url": "http://patchwork.ozlabs.org/api/1.1/projects/18/?format=api",
        "name": "U-Boot",
        "link_name": "uboot",
        "list_id": "u-boot.lists.denx.de",
        "list_email": "u-boot@lists.denx.de",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null
    },
    "msgid": "<20260420-net-kconfig-v1-2-9900002d8e72@cherry.de>",
    "date": "2026-04-20T11:36:08",
    "name": "[2/6] rename NET to NET_LEGACY",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "f4fd9fc9a94e8630a3f6f2d6c3d5cb59f33d7412",
    "submitter": {
        "id": 84425,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/84425/?format=api",
        "name": "Quentin Schulz",
        "email": "foss+uboot@0leil.net"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20260420-net-kconfig-v1-2-9900002d8e72@cherry.de/mbox/",
    "series": [
        {
            "id": 500605,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/500605/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=500605",
            "date": "2026-04-20T11:36:06",
            "name": "net: migrate NO_NET out of the networking stack choice",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/500605/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2225158/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2225158/checks/",
    "tags": {},
    "headers": {
        "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;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=0leil.net header.i=@0leil.net header.a=rsa-sha256\n header.s=20231125 header.b=W/MKYkLy;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)",
            "phobos.denx.de;\n dmarc=pass (p=reject dis=none) header.from=0leil.net",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de",
            "phobos.denx.de;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=0leil.net header.i=@0leil.net header.b=\"W/MKYkLy\";\n\tdkim-atps=neutral",
            "phobos.denx.de;\n dmarc=pass (p=reject dis=none) header.from=0leil.net",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=foss+uboot@0leil.net"
        ],
        "Received": [
            "from phobos.denx.de (phobos.denx.de\n [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fzlnC3VjSz1yGs\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 20 Apr 2026 22:54:39 +1000 (AEST)",
            "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 5E6A084378;\n\tMon, 20 Apr 2026 14:54:21 +0200 (CEST)",
            "by phobos.denx.de (Postfix, from userid 109)\n id EB0A684314; Mon, 20 Apr 2026 13:36:47 +0200 (CEST)",
            "from smtp-190d.mail.infomaniak.ch (smtp-190d.mail.infomaniak.ch\n [185.125.25.13])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 9BD9283E16\n for <u-boot@lists.denx.de>; Mon, 20 Apr 2026 13:36:44 +0200 (CEST)",
            "from smtp-4-0000.mail.infomaniak.ch (smtp-4-0000.mail.infomaniak.ch\n [10.7.10.107])\n by smtp-4-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4fzk3J2Gjcz1BmD;\n Mon, 20 Apr 2026 13:36:44 +0200 (CEST)",
            "from unknown by smtp-4-0000.mail.infomaniak.ch (Postfix) with ESMTPA\n id 4fzk3811NFzWPl; Mon, 20 Apr 2026 13:36:36 +0200 (CEST)"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=-3.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED,\n RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS\n autolearn=ham autolearn_force=no version=3.4.2",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=0leil.net;\n s=20231125; t=1776685002;\n bh=XgLf/F/wbNP+WXg68PpYUiopWVPmIV82B2DEj0wYHFo=;\n h=From:Date:Subject:References:In-Reply-To:To:Cc:From;\n b=W/MKYkLyDVa13N3TWZLA5ZQa+eL1nQS2vsOCc8GF8BASWm5GMJucr1XhEEikc4UVw\n M6jc56LFwR23JWSFvzouXWYLu8ItpD7C4wxmquN/inSiJGwHdRNW3RsOWjhkrVpBUs\n ZQFLQkyBRELquEZlthuVw/LU0x0HClaudwdDDI63itqDvo99gGh1/okFNEKFxg8Dqq\n 0YIV5o5uVpyOVSElCYnmNzAsOi+MwM69ihXLogJ+xj8c3rU0gtkWkj4bgHcoUMUtcN\n 3KvcQBbTepdA2eNIoQ9dEi+9RYCgXJzm3HgHMAlUXVZy1yXygKL0VxcBkCiO/BuPC6\n wkMyo4mnCXa0g==",
        "From": "Quentin Schulz <foss+uboot@0leil.net>",
        "Date": "Mon, 20 Apr 2026 13:36:08 +0200",
        "Subject": "[PATCH 2/6] rename NET to NET_LEGACY",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "7bit",
        "Message-Id": "<20260420-net-kconfig-v1-2-9900002d8e72@cherry.de>",
        "References": "<20260420-net-kconfig-v1-0-9900002d8e72@cherry.de>",
        "In-Reply-To": "<20260420-net-kconfig-v1-0-9900002d8e72@cherry.de>",
        "To": "u-boot@lists.denx.de, uboot-stm32@st-md-mailman.stormreply.com,\n Paul Barker <paul.barker.ct@bp.renesas.com>",
        "Cc": "Tom Rini <trini@konsulko.com>,\n  Jerome Forissier <jerome.forissier@arm.com>,\n  Heinrich Schuchardt <xypron.glpk@gmx.de>,\n  Marek Vasut <marek.vasut+renesas@mailbox.org>,\n  Ilias Apalodimas <ilias.apalodimas@linaro.org>, Peng Fan <peng.fan@nxp.com>,\n  Udit Kumar <u-kumar1@ti.com>,\n =?utf-8?q?Alvin_=C5=A0ipraga?= <alvin@pqrs.dk>,\n  Patrick Delaunay <patrick.delaunay@foss.st.com>,\n  Patrice Chotard <patrice.chotard@foss.st.com>,\n  Adam Ford <aford173@gmail.com>,\n  Manoj Sai <abbaraju.manojsai@amarulasolutions.com>,\n  Matteo Lisi <matteo.lisi@engicam.com>, Tim Harvey <tharvey@gateworks.com>,\n  Mingkai Hu <mingkai.hu@nxp.com>, Pramod Kumar <pramod.kumar_1@nxp.com>,\n  Gilles Talis <gilles.talis@gmail.com>, Le Jin <le.jin@siemens.com>,\n  Jan Kiszka <jan.kiszka@siemens.com>,\n  Kongyang Liu <seashell11234455@gmail.com>, Stefan Roese <sr@denx.de>,\n  Francesco Dolcini <francesco.dolcini@toradex.com>,\n  Michal Simek <michal.simek@amd.com>,\n  Mattijs Korpershoek <mkorpershoek@kernel.org>,\n  Casey Connolly <casey.connolly@linaro.org>,\n  Vignesh Raghavendra <vigneshr@ti.com>, Bryan Brattlof <bb@ti.com>,\n  Vaishnav Achath <vaishnav.a@ti.com>, Jayesh Choudhary <j-choudhary@ti.com>,\n  Simon Glass <sjg@chromium.org>, Lukasz Majewski <lukma@denx.de>,\n  Marek Vasut <marex@denx.de>, Sughosh Ganu <sughosh.ganu@arm.com>,\n  Yao Zi <me@ziyao.cc>, Fabio Estevam <festevam@gmail.com>,\n  Alice Guo <alice.guo@nxp.com>, Sam Protsenko <semen.protsenko@linaro.org>,\n  Martyn Welch <martyn.welch@collabora.com>,\n  Maarten Brock <Maarten.Brock@sttls.nl>,\n  Kory Maincent <kory.maincent@bootlin.com>,\n  \"Markus Schneider-Pargmann (TI.com)\" <msp@baylibre.com>,\n  Padmarao Begari <padmarao.begari@amd.com>,\n  Matthias Brugger <mbrugger@suse.com>,\n  Mikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>,\n  Heiko Schocher <hs@nabladev.com>,\n  Andrew Goodbody <andrew.goodbody@linaro.org>,\n  Peter Robinson <pbrobinson@gmail.com>, Brian Sune <briansune@gmail.com>,\n  Julien Stephan <jstephan@baylibre.com>,\n  Dinesh Maniyam <dinesh.maniyam@altera.com>,\n  Ben Dooks <ben.dooks@codethink.co.uk>,\n  Tien Fong Chee <tien.fong.chee@altera.com>,\n  Leo Yu-Chi Liang <ycliang@andestech.com>,\n  Weijie Gao <weijie.gao@mediatek.com>, Anshul Dalal <anshuld@ti.com>,\n  Neil Armstrong <neil.armstrong@linaro.org>,\n  Andre Przywara <andre.przywara@arm.com>, Andrew Davis <afd@ti.com>,\n  Hrushikesh Salunke <h-salunke@ti.com>, Alexey Charkov <alchark@gmail.com>,\n  Dario Binacchi <dario.binacchi@amarulasolutions.com>, Ye Li <ye.li@nxp.com>,\n  Andreas Dannenberg <dannenberg@ti.com>, Chintan Vankar <c-vankar@ti.com>,\n  Martin Schwan <m.schwan@phytec.de>, Benjamin Hahn <B.Hahn@phytec.de>,\n  David Lechner <dlechner@baylibre.com>,\n  Ariel D'Alessandro <ariel.dalessandro@collabora.com>,\n  Dmitrii Merkurev <dimorinny@google.com>,\n  Christian Marangi <ansuelsmth@gmail.com>,\n  Robert Marko <robert.marko@sartura.hr>, Beiyan Yun <root@infi.wang>,\n  \"Lucien.Jheng\" <lucienzx159@gmail.com>,\n  Romain Gantois <romain.gantois@bootlin.com>,\n  Siddharth Vadapalli <s-vadapalli@ti.com>,\n  Kever Yang <kever.yang@rock-chips.com>, Jonas Karlman <jonas@kwiboo.se>,\n  George Chan <gchan9527@gmail.com>,\n  Balaji Selvanathan <balaji.selvanathan@oss.qualcomm.com>,\n  Benjamin ROBIN <dev@benjarobin.fr>,\n  Max Merchel <Max.Merchel@ew.tq-group.com>,\n  Sean Edmond <seanedmond@microsoft.com>,\n  Christoph Niedermaier <cniedermaier@dh-electronics.com>,\n  Shantur Rathore <i@shantur.com>,\n  \"Ying-Chun Liu (PaulLiu)\" <paul.liu@linaro.org>,\n  Adriano Cordova <adrianox@gmail.com>,\n  Sky Huang <SkyLake.Huang@mediatek.com>,\n  Quentin Schulz <quentin.schulz@cherry.de>",
        "X-Mailer": "b4 0.15-dev-47773",
        "X-Infomaniak-Routing": "alpha",
        "X-Mailman-Approved-At": "Mon, 20 Apr 2026 14:54:20 +0200",
        "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>,\n <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>,\n <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.8 at phobos.denx.de",
        "X-Virus-Status": "Clean"
    },
    "content": "From: Quentin Schulz <quentin.schulz@cherry.de>\n\nHighlight that NET really is the legacy networking stack by renaming the\noption to NET_LEGACY.\n\nThis requires us to add an SPL_NET_LEGACY alias to SPL_NET as otherwise\nCONFIG_IS_ENABLED(NET_LEGACY) will not work for SPL.\n\nThe \"depends on !NET_LWIP\" for SPL_NET clearly highlights that it is\nusing the legacy networking app so this seems fine to do.\n\nThis also has the benefit of removing potential confusion on NET being a\nspecific networking stack instead of \"any\" network stack.\n\nSigned-off-by: Quentin Schulz <quentin.schulz@cherry.de>\n---\n Makefile                                             |  4 ++--\n arch/arm/mach-stm32mp/soc.c                          |  2 +-\n board/beacon/imx8mp/imx8mp_beacon.c                  |  2 +-\n board/engicam/imx8mp/icore_mx8mp.c                   |  2 +-\n board/gateworks/venice/venice.c                      |  4 ++--\n board/nxp/ls1043ardb/Makefile                        |  2 +-\n board/nxp/ls1046afrwy/Makefile                       |  2 +-\n board/nxp/ls1046ardb/Makefile                        |  2 +-\n .../imx8mp_debix_model_a/imx8mp_debix_model_a.c      |  2 +-\n board/siemens/iot2050/board.c                        |  2 +-\n board/sophgo/milkv_duo/Makefile                      |  2 +-\n board/sophgo/milkv_duo/board.c                       |  2 +-\n board/theadorable/theadorable.c                      |  4 ++--\n board/ti/am335x/board.c                              |  2 +-\n board/toradex/verdin-imx8mp/verdin-imx8mp.c          |  2 +-\n board/xilinx/common/board.c                          |  2 +-\n cmd/Kconfig                                          | 12 ++++++------\n cmd/Makefile                                         |  2 +-\n cmd/bdinfo.c                                         |  6 +++---\n cmd/fastboot.c                                       |  4 ++--\n cmd/ufetch.c                                         |  2 +-\n common/Kconfig                                       |  2 +-\n common/board_r.c                                     |  4 ++--\n common/spl/Kconfig                                   |  5 ++++-\n configs/am62px_evm_r5_ethboot_defconfig              |  2 +-\n configs/j722s_evm_r5_ethboot_defconfig               |  2 +-\n doc/develop/bootstd/overview.rst                     |  2 +-\n doc/develop/pytest/usage.rst                         |  4 ++--\n doc/usage/cmd/bdinfo.rst                             |  6 +++---\n doc/usage/cmd/sntp.rst                               |  2 +-\n doc/usage/cmd/wget.rst                               |  2 +-\n drivers/dfu/Kconfig                                  |  2 +-\n drivers/fastboot/Kconfig                             |  4 ++--\n drivers/fastboot/fb_common.c                         |  4 ++--\n drivers/net/Kconfig                                  |  6 +++---\n drivers/net/phy/Kconfig                              |  4 ++--\n drivers/net/sandbox.c                                |  2 +-\n drivers/usb/gadget/Kconfig                           |  2 +-\n env/flags.c                                          | 10 +++++-----\n include/configs/stm32mp15_common.h                   |  2 +-\n include/configs/stm32mp23_common.h                   |  2 +-\n include/configs/stm32mp25_common.h                   |  2 +-\n include/env_callback.h                               |  2 +-\n include/env_flags.h                                  |  6 +++---\n include/net-common.h                                 |  4 ++--\n include/net-legacy.h                                 |  2 +-\n lib/Kconfig                                          |  2 +-\n lib/efi_loader/Kconfig                               |  4 ++--\n net/Kconfig                                          | 20 ++++++++++----------\n net/Makefile                                         |  6 +++---\n test/cmd/Makefile                                    |  2 +-\n test/cmd/bdinfo.c                                    |  6 +++---\n test/dm/eth.c                                        |  6 +++---\n test/py/tests/test_efi_fit.py                        |  2 +-\n test/py/tests/test_efi_loader.py                     |  2 +-\n test/py/tests/test_fpga.py                           |  4 ++--\n test/py/tests/test_net.py                            |  2 +-\n 57 files changed, 104 insertions(+), 101 deletions(-)",
    "diff": "diff --git a/Makefile b/Makefile\nindex dfc95d314dd..285a9e2beed 100644\n--- a/Makefile\n+++ b/Makefile\n@@ -1081,7 +1081,7 @@ libs-$(CONFIG_OF_EMBED) += dts/\n libs-y += env/\n libs-y += lib/\n libs-y += fs/\n-libs-$(filter y,$(CONFIG_NET) $(CONFIG_NET_LWIP)) += net/\n+libs-$(filter y,$(CONFIG_NET_LEGACY) $(CONFIG_NET_LWIP)) += net/\n libs-y += disk/\n libs-y += drivers/\n libs-$(CONFIG_SYS_FSL_DDR) += drivers/ddr/fsl/\n@@ -1373,7 +1373,7 @@ expect = $(foreach cfg,$(1),y)\n # 1: List of options to migrate to (e.g. \"CONFIG_DM_MMC CONFIG_BLK\")\n # 2: Name of component (e.g . \"Ethernet drivers\")\n # 3: Release deadline (e.g. \"v202.07\")\n-# 4: Condition to require before checking (e.g. \"$(CONFIG_NET)\")\n+# 4: Condition to require before checking (e.g. \"$(CONFIG_NET_LEGACY)\")\n # Note: Script avoids bash construct, hence the strange double 'if'\n # (patches welcome!)\n define deprecated\ndiff --git a/arch/arm/mach-stm32mp/soc.c b/arch/arm/mach-stm32mp/soc.c\nindex fa56b0d2e0f..67be55e3381 100644\n--- a/arch/arm/mach-stm32mp/soc.c\n+++ b/arch/arm/mach-stm32mp/soc.c\n@@ -64,7 +64,7 @@ __weak int setup_mac_address(void)\n \tstruct udevice *dev;\n \tint nb_eth, nb_otp, index;\n \n-\tif (!IS_ENABLED(CONFIG_NET))\n+\tif (!IS_ENABLED(CONFIG_NET_LEGACY))\n \t\treturn 0;\n \n \tnb_eth = get_eth_nb();\ndiff --git a/board/beacon/imx8mp/imx8mp_beacon.c b/board/beacon/imx8mp/imx8mp_beacon.c\nindex dd74e7c0f75..541a4b00eba 100644\n--- a/board/beacon/imx8mp/imx8mp_beacon.c\n+++ b/board/beacon/imx8mp/imx8mp_beacon.c\n@@ -14,7 +14,7 @@ static void setup_fec(void)\n \tsetbits_le32(&gpr->gpr[1], BIT(22));\n }\n \n-#if IS_ENABLED(CONFIG_NET)\n+#if IS_ENABLED(CONFIG_NET_LEGACY)\n int board_phy_config(struct phy_device *phydev)\n {\n \tif (phydev->drv->config)\ndiff --git a/board/engicam/imx8mp/icore_mx8mp.c b/board/engicam/imx8mp/icore_mx8mp.c\nindex 864afa92aee..f01da961235 100644\n--- a/board/engicam/imx8mp/icore_mx8mp.c\n+++ b/board/engicam/imx8mp/icore_mx8mp.c\n@@ -30,7 +30,7 @@ static void setup_fec(void)\n \tsetbits_le32(&gpr->gpr[1], BIT(22));\n }\n \n-#if CONFIG_IS_ENABLED(NET) || CONFIG_IS_ENABLED(NET_LWIP)\n+#if CONFIG_IS_ENABLED(NET_LEGACY) || CONFIG_IS_ENABLED(NET_LWIP)\n int board_phy_config(struct phy_device *phydev)\n {\n \tif (phydev->drv->config)\ndiff --git a/board/gateworks/venice/venice.c b/board/gateworks/venice/venice.c\nindex 6a24f618ae2..aeb401b1210 100644\n--- a/board/gateworks/venice/venice.c\n+++ b/board/gateworks/venice/venice.c\n@@ -47,7 +47,7 @@ int board_fit_config_name_match(const char *path)\n \treturn -1;\n }\n \n-#if (IS_ENABLED(CONFIG_NET))\n+#if (IS_ENABLED(CONFIG_NET_LEGACY))\n int board_phy_config(struct phy_device *phydev)\n {\n \tunsigned short val;\n@@ -71,7 +71,7 @@ int board_phy_config(struct phy_device *phydev)\n \n \treturn 0;\n }\n-#endif // IS_ENABLED(CONFIG_NET)\n+#endif // IS_ENABLED(CONFIG_NET_LEGACY)\n \n int board_init(void)\n {\ndiff --git a/board/nxp/ls1043ardb/Makefile b/board/nxp/ls1043ardb/Makefile\nindex 95745bf3a9c..3f651b41606 100644\n--- a/board/nxp/ls1043ardb/Makefile\n+++ b/board/nxp/ls1043ardb/Makefile\n@@ -5,6 +5,6 @@\n obj-y += ddr.o\n obj-y += ls1043ardb.o\n ifndef CONFIG_XPL_BUILD\n-obj-$(CONFIG_NET) += eth.o\n+obj-$(CONFIG_NET_LEGACY) += eth.o\n obj-y += cpld.o\n endif\ndiff --git a/board/nxp/ls1046afrwy/Makefile b/board/nxp/ls1046afrwy/Makefile\nindex c70f5cda797..8594658d2fb 100644\n--- a/board/nxp/ls1046afrwy/Makefile\n+++ b/board/nxp/ls1046afrwy/Makefile\n@@ -4,4 +4,4 @@\n \n obj-y += ddr.o\n obj-y += ls1046afrwy.o\n-obj-$(CONFIG_NET) += eth.o\n+obj-$(CONFIG_NET_LEGACY) += eth.o\ndiff --git a/board/nxp/ls1046ardb/Makefile b/board/nxp/ls1046ardb/Makefile\nindex 9e5d24f53c8..355ccf59257 100644\n--- a/board/nxp/ls1046ardb/Makefile\n+++ b/board/nxp/ls1046ardb/Makefile\n@@ -5,6 +5,6 @@\n obj-y += ddr.o\n obj-y += ls1046ardb.o\n ifndef CONFIG_XPL_BUILD\n-obj-$(CONFIG_NET) += eth.o\n+obj-$(CONFIG_NET_LEGACY) += eth.o\n obj-y += cpld.o\n endif\ndiff --git a/board/polyhex/imx8mp_debix_model_a/imx8mp_debix_model_a.c b/board/polyhex/imx8mp_debix_model_a/imx8mp_debix_model_a.c\nindex 7f0925074fa..cff9383bad4 100644\n--- a/board/polyhex/imx8mp_debix_model_a/imx8mp_debix_model_a.c\n+++ b/board/polyhex/imx8mp_debix_model_a/imx8mp_debix_model_a.c\n@@ -26,7 +26,7 @@ static void setup_fec(void)\n \tsetbits_le32(&gpr->gpr[1], BIT(22));\n }\n \n-#if CONFIG_IS_ENABLED(NET) || CONFIG_IS_ENABLED(NET_LWIP)\n+#if CONFIG_IS_ENABLED(NET_LEGACY) || CONFIG_IS_ENABLED(NET_LWIP)\n int board_phy_config(struct phy_device *phydev)\n {\n \tif (phydev->drv->config)\ndiff --git a/board/siemens/iot2050/board.c b/board/siemens/iot2050/board.c\nindex c75f4a0d084..79cf34b40eb 100644\n--- a/board/siemens/iot2050/board.c\n+++ b/board/siemens/iot2050/board.c\n@@ -232,7 +232,7 @@ void set_board_info_env(void)\n \t\tenv_set(\"seboot_version\", buf);\n \tenv_set(\"fw_version\", PLAIN_VERSION);\n \n-\tif (IS_ENABLED(CONFIG_NET)) {\n+\tif (IS_ENABLED(CONFIG_NET_LEGACY)) {\n \t\tint mac_cnt;\n \n \t\tmac_cnt = sysinfo_get_item_count(sysinfo, SYSID_BOARD_MAC_ADDR);\ndiff --git a/board/sophgo/milkv_duo/Makefile b/board/sophgo/milkv_duo/Makefile\nindex d0525eba853..18ada7d72ff 100644\n--- a/board/sophgo/milkv_duo/Makefile\n+++ b/board/sophgo/milkv_duo/Makefile\n@@ -3,4 +3,4 @@\n # Copyright (c) 2024, Kongyang Liu <seashell11234455@gmail.com>\n \n obj-y += board.o\n-obj-$(CONFIG_NET) += ethernet.o\n+obj-$(CONFIG_NET_LEGACY) += ethernet.o\ndiff --git a/board/sophgo/milkv_duo/board.c b/board/sophgo/milkv_duo/board.c\nindex 9adbb08f5ce..f0944859b58 100644\n--- a/board/sophgo/milkv_duo/board.c\n+++ b/board/sophgo/milkv_duo/board.c\n@@ -12,7 +12,7 @@ int board_init(void)\n \tif (IS_ENABLED(CONFIG_SYSRESET_CV1800B))\n \t\tdevice_bind_driver(gd->dm_root, \"cv1800b_sysreset\", \"sysreset\", NULL);\n \n-\tif (IS_ENABLED(CONFIG_NET))\n+\tif (IS_ENABLED(CONFIG_NET_LEGACY))\n \t\tcv1800b_ephy_init();\n \n \treturn 0;\ndiff --git a/board/theadorable/theadorable.c b/board/theadorable/theadorable.c\nindex 2f5ad769b9b..e5c78e9c064 100644\n--- a/board/theadorable/theadorable.c\n+++ b/board/theadorable/theadorable.c\n@@ -20,7 +20,7 @@\n #include <asm/arch/soc.h>\n #include <linux/delay.h>\n #include <linux/mbus.h>\n-#ifdef CONFIG_NET\n+#ifdef CONFIG_NET_LEGACY\n #include <netdev.h>\n #endif\n #include <u-boot/crc.h>\n@@ -244,7 +244,7 @@ int checkboard(void)\n \treturn 0;\n }\n \n-#ifdef CONFIG_NET\n+#ifdef CONFIG_NET_LEGACY\n int board_eth_init(struct bd_info *bis)\n {\n \tcpu_eth_init(bis); /* Built in controller(s) come first */\ndiff --git a/board/ti/am335x/board.c b/board/ti/am335x/board.c\nindex 90e37a8d913..4b7aa5c8586 100644\n--- a/board/ti/am335x/board.c\n+++ b/board/ti/am335x/board.c\n@@ -911,7 +911,7 @@ int board_late_init(void)\n #endif\n \n /* CPSW plat */\n-#if (CONFIG_IS_ENABLED(NET) || CONFIG_IS_ENABLED(NET_LWIP)) && \\\n+#if (CONFIG_IS_ENABLED(NET_LEGACY) || CONFIG_IS_ENABLED(NET_LWIP)) && \\\n     !CONFIG_IS_ENABLED(OF_CONTROL)\n struct cpsw_slave_data slave_data[] = {\n \t{\ndiff --git a/board/toradex/verdin-imx8mp/verdin-imx8mp.c b/board/toradex/verdin-imx8mp/verdin-imx8mp.c\nindex 59b4607f065..69c3408fbba 100644\n--- a/board/toradex/verdin-imx8mp/verdin-imx8mp.c\n+++ b/board/toradex/verdin-imx8mp/verdin-imx8mp.c\n@@ -46,7 +46,7 @@ static void setup_fec(void)\n \tsetbits_le32(&gpr->gpr[1], BIT(22));\n }\n \n-#if IS_ENABLED(CONFIG_NET)\n+#if IS_ENABLED(CONFIG_NET_LEGACY)\n int board_phy_config(struct phy_device *phydev)\n {\n \tif (phydev->drv->config)\ndiff --git a/board/xilinx/common/board.c b/board/xilinx/common/board.c\nindex d022308f943..b21a1361137 100644\n--- a/board/xilinx/common/board.c\n+++ b/board/xilinx/common/board.c\n@@ -508,7 +508,7 @@ int board_late_init_xilinx(void)\n \t\t\t\tret |= env_set_by_index(\"uuid\", id, uuid);\n \t\t\t}\n \n-\t\t\tif (!(CONFIG_IS_ENABLED(NET) ||\n+\t\t\tif (!(CONFIG_IS_ENABLED(NET_LEGACY) ||\n \t\t\t      CONFIG_IS_ENABLED(NET_LWIP)))\n \t\t\t\tcontinue;\n \ndiff --git a/cmd/Kconfig b/cmd/Kconfig\nindex 9b8a13c3446..f19a656146a 100644\n--- a/cmd/Kconfig\n+++ b/cmd/Kconfig\n@@ -1946,7 +1946,7 @@ config CMD_XXD\n \n endmenu\n \n-if NET || NET_LWIP\n+if NET_LEGACY || NET_LWIP\n \n menuconfig CMD_NET\n \tbool \"Network commands\"\n@@ -1954,7 +1954,7 @@ menuconfig CMD_NET\n \n if CMD_NET\n \n-if NET\n+if NET_LEGACY\n \n config CMD_BOOTP\n \tbool \"bootp\"\n@@ -2198,12 +2198,12 @@ config CMD_WOL\n \thelp\n \t  Wait for wake-on-lan Magic Packet\n \n-endif  # if NET\n+endif  # if NET_LEGACY\n \n config CMD_DHCP\n \tbool \"dhcp\"\n \tselect PROT_DHCP_LWIP if NET_LWIP\n-\tselect CMD_BOOTP if NET\n+\tselect CMD_BOOTP if NET_LEGACY\n \thelp\n \t  Boot image via network using DHCP/TFTP protocol\n \n@@ -2259,7 +2259,7 @@ config CMD_PING\n \n config CMD_SNTP\n \tbool \"sntp\"\n-\tselect PROT_UDP if NET\n+\tselect PROT_UDP if NET_LEGACY\n \tselect PROT_UDP_LWIP if NET_LWIP\n \thelp\n \t  Synchronize RTC via network\n@@ -2329,7 +2329,7 @@ config CMD_PXE\n \n endif  # if CMD_NET\n \n-endif # NET || NET_LWIP\n+endif # NET_LEGACY || NET_LWIP\n \n menu \"Misc commands\"\n \ndiff --git a/cmd/Makefile b/cmd/Makefile\nindex 6b69da1f2b0..bbbdfcc4ded 100644\n--- a/cmd/Makefile\n+++ b/cmd/Makefile\n@@ -131,7 +131,7 @@ obj-y += legacy-mtd-utils.o\n endif\n obj-$(CONFIG_CMD_MUX) += mux.o\n obj-$(CONFIG_CMD_NAND) += nand.o\n-ifdef CONFIG_NET\n+ifdef CONFIG_NET_LEGACY\n obj-$(CONFIG_CMD_NET) += net.o net-common.o\n else ifdef CONFIG_NET_LWIP\n obj-$(CONFIG_CMD_NET) += net-common.o\ndiff --git a/cmd/bdinfo.c b/cmd/bdinfo.c\nindex dc7c2c3c853..39e7bec3885 100644\n--- a/cmd/bdinfo.c\n+++ b/cmd/bdinfo.c\n@@ -152,7 +152,7 @@ static int bdinfo_print_all(struct bd_info *bd)\n \tbdinfo_print_num_l(\"relocaddr\", gd->relocaddr);\n \tbdinfo_print_num_l(\"reloc off\", gd->reloc_off);\n \tprintf(\"%-12s= %u-bit\\n\", \"Build\", (uint)sizeof(void *) * 8);\n-\tif (IS_ENABLED(CONFIG_NET) || IS_ENABLED(CONFIG_NET_LWIP))\n+\tif (IS_ENABLED(CONFIG_NET_LEGACY) || IS_ENABLED(CONFIG_NET_LWIP))\n \t\tprint_eth();\n \tbdinfo_print_num_l(\"fdt_blob\", (ulong)map_to_sysmem(gd->fdt_blob));\n \tif (IS_ENABLED(CONFIG_VIDEO))\n@@ -194,7 +194,7 @@ int do_bdinfo(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])\n \t\tcase 'a':\n \t\t\treturn bdinfo_print_all(bd);\n \t\tcase 'e':\n-\t\t\tif (!IS_ENABLED(CONFIG_NET) &&\n+\t\t\tif (!IS_ENABLED(CONFIG_NET_LEGACY) &&\n \t\t\t    !IS_ENABLED(CONFIG_NET_LWIP))\n \t\t\t\treturn CMD_RET_USAGE;\n \t\t\tprint_eth();\n@@ -221,7 +221,7 @@ U_BOOT_CMD(\n \t\"  - print all Board Info structure\"\n #if CONFIG_IS_ENABLED(GETOPT)\n \t\"\\n\"\n-#if IS_ENABLED(CONFIG_NET) || IS_ENABLED(CONFIG_NET_LWIP)\n+#if IS_ENABLED(CONFIG_NET_LEGACY) || IS_ENABLED(CONFIG_NET_LWIP)\n \t\"bdinfo -e\\n\"\n \t\"  - print Board Info related to network\\n\"\n #endif\ndiff --git a/cmd/fastboot.c b/cmd/fastboot.c\nindex be84a482b81..e71f873527b 100644\n--- a/cmd/fastboot.c\n+++ b/cmd/fastboot.c\n@@ -16,7 +16,7 @@\n #include <linux/printk.h>\n #include <linux/stringify.h>\n \n-#if CONFIG_IS_ENABLED(NET)\n+#if CONFIG_IS_ENABLED(NET_LEGACY)\n static int do_fastboot_udp(int argc, char *const argv[],\n \t\t\t   uintptr_t buf_addr, size_t buf_size)\n {\n@@ -162,7 +162,7 @@ NXTARG:\n \n \tfastboot_init((void *)buf_addr, buf_size);\n \n-#if CONFIG_IS_ENABLED(NET)\n+#if CONFIG_IS_ENABLED(NET_LEGACY)\n \tif (!strcmp(argv[1], \"udp\"))\n \t\treturn do_fastboot_udp(argc, argv, buf_addr, buf_size);\n \tif (!strcmp(argv[1], \"tcp\"))\ndiff --git a/cmd/ufetch.c b/cmd/ufetch.c\nindex bc5db08eee1..f8dc904bdd0 100644\n--- a/cmd/ufetch.c\n+++ b/cmd/ufetch.c\n@@ -159,7 +159,7 @@ static int do_ufetch(struct cmd_tbl *cmdtp, int flag, int argc,\n \t\t\tbreak;\n \t\tcase FEATURES:\n \t\t\tprintf(\"Features:\" RESET \" \");\n-\t\t\tif (IS_ENABLED(CONFIG_NET))\n+\t\t\tif (IS_ENABLED(CONFIG_NET_LEGACY))\n \t\t\t\tprintf(\"Net\");\n \t\t\tif (IS_ENABLED(CONFIG_EFI_LOADER))\n \t\t\t\tprintf(\", EFI\");\ndiff --git a/common/Kconfig b/common/Kconfig\nindex 2a167ec3ad3..3c3af0e3647 100644\n--- a/common/Kconfig\n+++ b/common/Kconfig\n@@ -425,7 +425,7 @@ config LOGF_FUNC_PAD\n \n config LOG_SYSLOG\n \tbool \"Log output to syslog server\"\n-\tdepends on NET || NET_LWIP\n+\tdepends on NET_LEGACY || NET_LWIP\n \thelp\n \t  Enables a log driver which broadcasts log records via UDP port 514\n \t  to syslog servers.\ndiff --git a/common/board_r.c b/common/board_r.c\nindex 8cf0e14679c..37e6f51c7a7 100644\n--- a/common/board_r.c\n+++ b/common/board_r.c\n@@ -495,7 +495,7 @@ static int initr_boot_led_on(void)\n \treturn 0;\n }\n \n-#if CONFIG_IS_ENABLED(NET) || CONFIG_IS_ENABLED(NET_LWIP)\n+#if CONFIG_IS_ENABLED(NET_LEGACY) || CONFIG_IS_ENABLED(NET_LWIP)\n static int initr_net(void)\n {\n \tputs(\"Net:   \");\n@@ -756,7 +756,7 @@ static void initcall_run_r(void)\n #if CONFIG_IS_ENABLED(PCI_ENDPOINT)\n \tINITCALL(pci_ep_init);\n #endif\n-#if CONFIG_IS_ENABLED(NET) || CONFIG_IS_ENABLED(NET_LWIP)\n+#if CONFIG_IS_ENABLED(NET_LEGACY) || CONFIG_IS_ENABLED(NET_LWIP)\n \tWATCHDOG_RESET();\n \tINITCALL(initr_net);\n #endif\ndiff --git a/common/spl/Kconfig b/common/spl/Kconfig\nindex a21b71ad5d1..5fa94098e49 100644\n--- a/common/spl/Kconfig\n+++ b/common/spl/Kconfig\n@@ -1151,7 +1151,7 @@ config SPL_DM_SPI_FLASH\n \n config SPL_NET\n \tbool \"Support networking\"\n-\tdepends on NET\n+\tdepends on NET_LEGACY\n \tselect SPL_USE_TINY_PRINTF_POINTER_SUPPORT if SPL_USE_TINY_PRINTF\n \thelp\n \t  Enable support for network devices (such as Ethernet) in SPL.\n@@ -1160,6 +1160,9 @@ config SPL_NET\n \t  the network stack uses a number of environment variables. See also\n \t  SPL_ETH.\n \n+config SPL_NET_LEGACY\n+\tdef_bool y if SPL_NET\n+\n config SPL_NET_VCI_STRING\n \tstring \"BOOTP Vendor Class Identifier string sent by SPL\"\n \tdepends on SPL_NET\ndiff --git a/configs/am62px_evm_r5_ethboot_defconfig b/configs/am62px_evm_r5_ethboot_defconfig\nindex dfd944ad7c0..8baec9d43ff 100644\n--- a/configs/am62px_evm_r5_ethboot_defconfig\n+++ b/configs/am62px_evm_r5_ethboot_defconfig\n@@ -5,7 +5,7 @@ CONFIG_ARCH_K3=y\n CONFIG_SOC_K3_AM62P5=y\n CONFIG_TARGET_AM62P5_R5_EVM=y\n CONFIG_DEFAULT_DEVICE_TREE=\"k3-am62p5-r5-sk\"\n-CONFIG_NET=y\n+CONFIG_NET_LEGACY=y\n CONFIG_SPL_BOARD_INIT=y\n CONFIG_SPL_DMA=y\n CONFIG_SPL_ENV_SUPPORT=y\ndiff --git a/configs/j722s_evm_r5_ethboot_defconfig b/configs/j722s_evm_r5_ethboot_defconfig\nindex 68237f7d8c3..e4682edb455 100644\n--- a/configs/j722s_evm_r5_ethboot_defconfig\n+++ b/configs/j722s_evm_r5_ethboot_defconfig\n@@ -5,7 +5,7 @@ CONFIG_ARCH_K3=y\n CONFIG_SOC_K3_J722S=y\n CONFIG_TARGET_J722S_R5_EVM=y\n CONFIG_DEFAULT_DEVICE_TREE=\"k3-j722s-r5-evm\"\n-CONFIG_NET=y\n+CONFIG_NET_LEGACY=y\n CONFIG_SPL_DRIVERS_MISC=y\n CONFIG_SPL_BOARD_INIT=y\n CONFIG_SPL_DMA=y\ndiff --git a/doc/develop/bootstd/overview.rst b/doc/develop/bootstd/overview.rst\nindex 397f6db18b4..99ff7d6192d 100644\n--- a/doc/develop/bootstd/overview.rst\n+++ b/doc/develop/bootstd/overview.rst\n@@ -422,7 +422,7 @@ includes the full set of commands, more error messages when things go wrong and\n bootmeth ordering with the bootmeths environment variable.\n \n You should probably also enable `CONFIG_BOOTSTD_DEFAULTS`, which provides\n-several filesystem and network features (if `CONFIG_NET` is enabled) so that\n+several filesystem and network features (if `CONFIG_NET_LEGACY` is enabled) so that\n a good selection of boot options is available.\n \n Some devicetree properties are supported in the bootstd node when\ndiff --git a/doc/develop/pytest/usage.rst b/doc/develop/pytest/usage.rst\nindex e9296fd1f44..6002244d608 100644\n--- a/doc/develop/pytest/usage.rst\n+++ b/doc/develop/pytest/usage.rst\n@@ -546,11 +546,11 @@ following annotation for a test requires ``CONFIG_EFI_LOADER=y``:\n Sometimes multiple configuration option supply the same functionality. If\n multiple arguments are passed to ``buildconfigspec()``, only one of the\n configuration options needs to be set. The following annotation requires that\n-either of ``CONFIG_NET`` or ``CONFIG_NET_LWIP`` is set:\n+either of ``CONFIG_NET_LEGACY`` or ``CONFIG_NET_LWIP`` is set:\n \n .. code-block:: python\n \n-    @pytest.mark.buildconfigspec('net', 'net_lwip')\n+    @pytest.mark.buildconfigspec('net_legacy', 'net_lwip')\n \n The ``notbuildconfigspec()`` annotation can be used to require a configuration\n option not to be set. The following annotation requires ``CONFIG_RISCV=n``:\ndiff --git a/doc/usage/cmd/bdinfo.rst b/doc/usage/cmd/bdinfo.rst\nindex 46046e55e06..09db9101bd1 100644\n--- a/doc/usage/cmd/bdinfo.rst\n+++ b/doc/usage/cmd/bdinfo.rst\n@@ -124,12 +124,12 @@ Build\n current eth\n     name of the active network device\n \n-    Only shown if CONFIG_NET=y or CONFIG_NET_LWIP=y.\n+    Only shown if CONFIG_NET_LEGACY=y or CONFIG_NET_LWIP=y.\n \n IP addr\n     network address, value of the environment variable *ipaddr*\n \n-    Only shown if CONFIG_NET=y or CONFIG_NET_LWIP=y.\n+    Only shown if CONFIG_NET_LEGACY=y or CONFIG_NET_LWIP=y.\n \n fdt_blob\n     address of U-Boot's own device tree, NULL if none\n@@ -173,5 +173,5 @@ The bdinfo command is available if CONFIG_CMD_BDI=y.\n \n The options to bdinfo are only available if CONFIG_GETOPT=y.\n \n-The ``-e`` option is additionally only available if CONFIG_NET=y or\n+The ``-e`` option is additionally only available if CONFIG_NET_LEGACY=y or\n CONFIG_NET_LWIP=y.\ndiff --git a/doc/usage/cmd/sntp.rst b/doc/usage/cmd/sntp.rst\nindex 2046828130d..433884f18b2 100644\n--- a/doc/usage/cmd/sntp.rst\n+++ b/doc/usage/cmd/sntp.rst\n@@ -24,7 +24,7 @@ the server's IP address to be given on the command line or via the\n `ntpserverip` environment variable.\n \n The address of the NTP server does not need to be given if the DHCP server\n-provides one. The legacy network stack (`CONFIG_NET=y`) can only use the\n+provides one. The legacy network stack (`CONFIG_NET_LEGACY=y`) can only use the\n first NTP server provided in the `ntp-servers` DHCP option.\n \n When the network stack is lwIP (`CONFIG_NET_LWIP=y`) and DNS resolution\ndiff --git a/doc/usage/cmd/wget.rst b/doc/usage/cmd/wget.rst\nindex e6c42f967b9..f661d739a19 100644\n--- a/doc/usage/cmd/wget.rst\n+++ b/doc/usage/cmd/wget.rst\n@@ -26,7 +26,7 @@ In order to use HTTPS you will need to compile wget with lwIP support.\n Legacy syntax\n ~~~~~~~~~~~~~\n \n-The legacy syntax is supported by the legacy network stack (CONFIG_NET=y)\n+The legacy syntax is supported by the legacy network stack (CONFIG_NET_LEGACY=y)\n as well as by the lwIP base network stack (CONFIG_NET_LWIP=y). It supports HTTP\n only.\n \ndiff --git a/drivers/dfu/Kconfig b/drivers/dfu/Kconfig\nindex 962bda40ad2..eeae2fd65ad 100644\n--- a/drivers/dfu/Kconfig\n+++ b/drivers/dfu/Kconfig\n@@ -11,7 +11,7 @@ config DFU_OVER_USB\n \n config DFU_OVER_TFTP\n \tbool\n-\tdepends on NET\n+\tdepends on NET_LEGACY\n \n config DFU_WRITE_ALT\n \tbool\ndiff --git a/drivers/fastboot/Kconfig b/drivers/fastboot/Kconfig\nindex 576c3ef8a45..90212fcf9ef 100644\n--- a/drivers/fastboot/Kconfig\n+++ b/drivers/fastboot/Kconfig\n@@ -27,7 +27,7 @@ config USB_FUNCTION_FASTBOOT\n \t  This enables the USB part of the fastboot gadget.\n \n config UDP_FUNCTION_FASTBOOT\n-\tdepends on NET\n+\tdepends on NET_LEGACY\n \tselect FASTBOOT\n \tbool \"Enable fastboot protocol over UDP\"\n \thelp\n@@ -41,7 +41,7 @@ config UDP_FUNCTION_FASTBOOT_PORT\n \t  The fastboot protocol requires a UDP port number.\n \n config TCP_FUNCTION_FASTBOOT\n-\tdepends on NET\n+\tdepends on NET_LEGACY\n \tselect FASTBOOT\n \tbool \"Enable fastboot protocol over TCP\"\n \thelp\ndiff --git a/drivers/fastboot/fb_common.c b/drivers/fastboot/fb_common.c\nindex dac5528f809..9c52e004588 100644\n--- a/drivers/fastboot/fb_common.c\n+++ b/drivers/fastboot/fb_common.c\n@@ -191,13 +191,13 @@ void fastboot_handle_boot(int command, bool success)\n \tswitch (command) {\n \tcase FASTBOOT_COMMAND_BOOT:\n \t\tfastboot_boot();\n-#if CONFIG_IS_ENABLED(NET)\n+#if CONFIG_IS_ENABLED(NET_LEGACY)\n \t\tnet_set_state(NETLOOP_SUCCESS);\n #endif\n \t\tbreak;\n \n \tcase FASTBOOT_COMMAND_CONTINUE:\n-#if CONFIG_IS_ENABLED(NET)\n+#if CONFIG_IS_ENABLED(NET_LEGACY)\n \t\tnet_set_state(NETLOOP_SUCCESS);\n #endif\n \t\tbreak;\ndiff --git a/drivers/net/Kconfig b/drivers/net/Kconfig\nindex ed07e286676..f0288387aed 100644\n--- a/drivers/net/Kconfig\n+++ b/drivers/net/Kconfig\n@@ -339,7 +339,7 @@ config ESSEDMA\n \n config ETH_SANDBOX\n \tdepends on SANDBOX\n-\tdepends on NET || NET_LWIP\n+\tdepends on NET_LEGACY || NET_LWIP\n \tdefault y\n \tbool \"Sandbox: Mocked Ethernet driver\"\n \thelp\n@@ -350,7 +350,7 @@ config ETH_SANDBOX\n \n config ETH_SANDBOX_RAW\n \tdepends on SANDBOX\n-\tdepends on NET\n+\tdepends on NET_LEGACY\n \tdefault y\n \tbool \"Sandbox: Bridge to Linux Raw Sockets\"\n \thelp\n@@ -476,7 +476,7 @@ config FTMAC100\n config FTGMAC100\n \tbool \"Ftgmac100 Ethernet Support\"\n \tselect PHYLIB\n-\tdepends on NET\n+\tdepends on NET_LEGACY\n \thelp\n \t  This driver supports the Faraday's FTGMAC100 Gigabit SoC\n \t  Ethernet controller that can be found on Aspeed SoCs (which\ndiff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig\nindex 5d2277a4602..93f32aea595 100644\n--- a/drivers/net/phy/Kconfig\n+++ b/drivers/net/phy/Kconfig\n@@ -7,7 +7,7 @@ config MV88E6352_SWITCH\n \n menuconfig PHYLIB\n \tbool \"Ethernet PHY (physical media interface) support\"\n-\tdepends on NET || NET_LWIP\n+\tdepends on NET_LEGACY || NET_LWIP\n \thelp\n \t  Enable Ethernet PHY (physical media interface) support.\n \n@@ -381,7 +381,7 @@ config PHY_FIXED\n \n config PHY_NCSI\n \tbool \"NC-SI based PHY\"\n-\tdepends on NET\n+\tdepends on NET_LEGACY\n \n endif #PHYLIB\n \ndiff --git a/drivers/net/sandbox.c b/drivers/net/sandbox.c\nindex 0ea50c484c0..e1daeb6c1e6 100644\n--- a/drivers/net/sandbox.c\n+++ b/drivers/net/sandbox.c\n@@ -15,7 +15,7 @@\n \n /*\n  * Structure definitions for network protocols. Since this file is used for\n- * both NET and NET_LWIP, and given that the two network stacks do have\n+ * both NET_LEGACY and NET_LWIP, and given that the two network stacks do have\n  * conflicting types (for instance struct icmp_hdr), it is on purpose that the\n  * structures are defined locally with minimal dependencies -- <asm/types.h> is\n  * included for the bit types and that's it.\ndiff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig\nindex baa2eb61ea3..d4ffc24c063 100644\n--- a/drivers/usb/gadget/Kconfig\n+++ b/drivers/usb/gadget/Kconfig\n@@ -232,7 +232,7 @@ endif # USB_GADGET_DOWNLOAD\n \n config USB_ETHER\n \tbool \"USB Ethernet Gadget\"\n-\tdepends on NET || NET_LWIP\n+\tdepends on NET_LEGACY || NET_LWIP\n \tdefault y if ARCH_SUNXI && USB_MUSB_GADGET\n \thelp\n \t  Creates an Ethernet network device through a USB peripheral\ndiff --git a/env/flags.c b/env/flags.c\nindex f734fda50c2..45eb9820d9f 100644\n--- a/env/flags.c\n+++ b/env/flags.c\n@@ -22,7 +22,7 @@\n #include <env_internal.h>\n #endif\n \n-#if CONFIG_IS_ENABLED(NET) || CONFIG_IS_ENABLED(NET_LWIP)\n+#if CONFIG_IS_ENABLED(NET_LEGACY) || CONFIG_IS_ENABLED(NET_LWIP)\n #define ENV_FLAGS_NET_VARTYPE_REPS \"im\"\n #else\n #define ENV_FLAGS_NET_VARTYPE_REPS \"\"\n@@ -57,7 +57,7 @@ static const char * const env_flags_vartype_names[] = {\n \t\"decimal\",\n \t\"hexadecimal\",\n \t\"boolean\",\n-#if CONFIG_IS_ENABLED(NET) || CONFIG_IS_ENABLED(NET_LWIP)\n+#if CONFIG_IS_ENABLED(NET_LEGACY) || CONFIG_IS_ENABLED(NET_LWIP)\n \t\"IP address\",\n \t\"MAC address\",\n #endif\n@@ -211,7 +211,7 @@ static void skip_num(int hex, const char *value, const char **end,\n \t\t*end = value;\n }\n \n-#if CONFIG_IS_ENABLED(NET) || CONFIG_IS_ENABLED(NET_LWIP)\n+#if CONFIG_IS_ENABLED(NET_LEGACY) || CONFIG_IS_ENABLED(NET_LWIP)\n int eth_validate_ethaddr_str(const char *addr)\n {\n \tconst char *end;\n@@ -244,7 +244,7 @@ static int _env_flags_validate_type(const char *value,\n \tenum env_flags_vartype type)\n {\n \tconst char *end;\n-#if CONFIG_IS_ENABLED(NET) || CONFIG_IS_ENABLED(NET_LWIP)\n+#if CONFIG_IS_ENABLED(NET_LEGACY) || CONFIG_IS_ENABLED(NET_LWIP)\n \tconst char *cur;\n \tint i;\n #endif\n@@ -273,7 +273,7 @@ static int _env_flags_validate_type(const char *value,\n \t\tif (value[1] != '\\0')\n \t\t\treturn -1;\n \t\tbreak;\n-#if CONFIG_IS_ENABLED(NET) || CONFIG_IS_ENABLED(NET_LWIP)\n+#if CONFIG_IS_ENABLED(NET_LEGACY) || CONFIG_IS_ENABLED(NET_LWIP)\n \tcase env_flags_vartype_ipaddr:\n \t\tcur = value;\n \t\tfor (i = 0; i < 4; i++) {\ndiff --git a/include/configs/stm32mp15_common.h b/include/configs/stm32mp15_common.h\nindex 9cac31bcf47..9a87b479176 100644\n--- a/include/configs/stm32mp15_common.h\n+++ b/include/configs/stm32mp15_common.h\n@@ -41,7 +41,7 @@\n #define BOOT_TARGET_MMC2(func)\n #endif\n \n-#ifdef CONFIG_NET\n+#ifdef CONFIG_NET_LEGACY\n #define BOOT_TARGET_PXE(func)\tfunc(PXE, pxe, na)\n #else\n #define BOOT_TARGET_PXE(func)\ndiff --git a/include/configs/stm32mp23_common.h b/include/configs/stm32mp23_common.h\nindex 7285886b822..392d779ec16 100644\n--- a/include/configs/stm32mp23_common.h\n+++ b/include/configs/stm32mp23_common.h\n@@ -29,7 +29,7 @@\n #ifdef CONFIG_DISTRO_DEFAULTS\n /*****************************************************************************/\n \n-#ifdef CONFIG_NET\n+#ifdef CONFIG_NET_LEGACY\n #define BOOT_TARGET_PXE(func)\tfunc(PXE, pxe, na)\n #else\n #define BOOT_TARGET_PXE(func)\ndiff --git a/include/configs/stm32mp25_common.h b/include/configs/stm32mp25_common.h\nindex b42316fd8ac..a334b47b555 100644\n--- a/include/configs/stm32mp25_common.h\n+++ b/include/configs/stm32mp25_common.h\n@@ -25,7 +25,7 @@\n #ifdef CONFIG_DISTRO_DEFAULTS\n /*****************************************************************************/\n \n-#ifdef CONFIG_NET\n+#ifdef CONFIG_NET_LEGACY\n #define BOOT_TARGET_PXE(func)\tfunc(PXE, pxe, na)\n #else\n #define BOOT_TARGET_PXE(func)\ndiff --git a/include/env_callback.h b/include/env_callback.h\nindex 918ccb3b14f..f7bb23df569 100644\n--- a/include/env_callback.h\n+++ b/include/env_callback.h\n@@ -32,7 +32,7 @@\n #define DNS_CALLBACK\n #endif\n \n-#if CONFIG_IS_ENABLED(NET) || CONFIG_IS_ENABLED(NET_LWIP)\n+#if CONFIG_IS_ENABLED(NET_LEGACY) || CONFIG_IS_ENABLED(NET_LWIP)\n #define NET_CALLBACKS \\\n \t\"bootfile:bootfile,\" \\\n \t\"ipaddr:ipaddr,\" \\\ndiff --git a/include/env_flags.h b/include/env_flags.h\nindex 0c48874690f..85721a89cfb 100644\n--- a/include/env_flags.h\n+++ b/include/env_flags.h\n@@ -14,7 +14,7 @@ enum env_flags_vartype {\n \tenv_flags_vartype_decimal,\n \tenv_flags_vartype_hex,\n \tenv_flags_vartype_bool,\n-#if CONFIG_IS_ENABLED(NET) || CONFIG_IS_ENABLED(NET_LWIP)\n+#if CONFIG_IS_ENABLED(NET_LEGACY) || CONFIG_IS_ENABLED(NET_LWIP)\n \tenv_flags_vartype_ipaddr,\n \tenv_flags_vartype_macaddr,\n #endif\n@@ -41,7 +41,7 @@ enum env_flags_varaccess {\n #define CFG_ENV_FLAGS_LIST_STATIC \"\"\n #endif\n \n-#if CONFIG_IS_ENABLED(NET) || CONFIG_IS_ENABLED(NET_LWIP)\n+#if CONFIG_IS_ENABLED(NET_LEGACY) || CONFIG_IS_ENABLED(NET_LWIP)\n #ifdef CONFIG_REGEX\n #define ETHADDR_WILDCARD \"\\\\d*\"\n #else\n@@ -123,7 +123,7 @@ enum env_flags_varaccess env_flags_parse_varaccess(const char *flags);\n  */\n enum env_flags_varaccess env_flags_parse_varaccess_from_binflags(int binflags);\n \n-#if CONFIG_IS_ENABLED(NET) || CONFIG_IS_ENABLED(NET_LWIP)\n+#if CONFIG_IS_ENABLED(NET_LEGACY) || CONFIG_IS_ENABLED(NET_LWIP)\n /*\n  * Check if a string has the format of an Ethernet MAC address\n  */\ndiff --git a/include/net-common.h b/include/net-common.h\nindex f293b21bc0b..0cbdf344664 100644\n--- a/include/net-common.h\n+++ b/include/net-common.h\n@@ -235,7 +235,7 @@ int eth_rx(void);\t\t\t/* Check for received packets */\n  */\n void reset_phy(void);\n \n-#if CONFIG_IS_ENABLED(NET) || CONFIG_IS_ENABLED(NET_LWIP)\n+#if CONFIG_IS_ENABLED(NET_LEGACY) || CONFIG_IS_ENABLED(NET_LWIP)\n /**\n  * eth_set_enable_bootdevs() - Enable or disable binding of Ethernet bootdevs\n  *\n@@ -485,7 +485,7 @@ int net_init(void);\n /* Called when a network operation fails to know if it should be re-tried */\n int net_start_again(void);\n \n-/* NET compatibility */\n+/* NET_LEGACY compatibility */\n enum proto_t;\n int net_loop(enum proto_t protocol);\n \ndiff --git a/include/net-legacy.h b/include/net-legacy.h\nindex d489c2480cd..d3b122c9062 100644\n--- a/include/net-legacy.h\n+++ b/include/net-legacy.h\n@@ -281,7 +281,7 @@ extern struct in_addr net_dns_server2;\n #endif\n extern char\tnet_nis_domain[32];\t/* Our IS domain */\n extern char\tnet_hostname[32];\t/* Our hostname */\n-#ifdef CONFIG_NET\n+#ifdef CONFIG_NET_LEGACY\n extern char\tnet_root_path[CONFIG_BOOTP_MAX_ROOT_PATH_LEN];\t/* Our root path */\n #endif\n /** END OF BOOTP EXTENTIONS **/\ndiff --git a/lib/Kconfig b/lib/Kconfig\nindex 4e6a0c6a1b6..b2ffa2c4ef2 100644\n--- a/lib/Kconfig\n+++ b/lib/Kconfig\n@@ -285,7 +285,7 @@ config PANIC_HANG\n \n config REGEX\n \tbool \"Enable regular expression support\"\n-\tdefault y if NET\n+\tdefault y if NET_LEGACY\n \thelp\n \t  If this variable is defined, U-Boot is linked against the\n \t  SLRE (Super Light Regular Expression) library, which adds\ndiff --git a/lib/efi_loader/Kconfig b/lib/efi_loader/Kconfig\nindex b5f81e0ff53..495a85fa869 100644\n--- a/lib/efi_loader/Kconfig\n+++ b/lib/efi_loader/Kconfig\n@@ -517,7 +517,7 @@ config EFI_RISCV_BOOT_PROTOCOL\n config EFI_IP4_CONFIG2_PROTOCOL\n \tbool \"EFI_IP4_CONFIG2_PROTOCOL support\"\n \tdefault y if ARCH_QEMU || SANDBOX\n-\tdepends on NET || NET_LWIP\n+\tdepends on NET_LEGACY || NET_LWIP\n \thelp\n \t  Provides an implementation of the EFI_IP4_CONFIG2_PROTOCOL, this\n \t  protocol can be used to set and get the current ip address and\n@@ -599,7 +599,7 @@ config EFI_BOOTMGR\n \n config EFI_HTTP_BOOT\n \tbool \"EFI HTTP Boot support\"\n-\tdepends on NET || NET_LWIP\n+\tdepends on NET_LEGACY || NET_LWIP\n \tselect CMD_NET\n \tselect CMD_DHCP\n \tselect CMD_DNS\ndiff --git a/net/Kconfig b/net/Kconfig\nindex 249c27c115d..89d949b5f2c 100644\n--- a/net/Kconfig\n+++ b/net/Kconfig\n@@ -6,14 +6,14 @@ menu \"Networking\"\n \n choice\n \tprompt \"Networking stack\"\n-\tdefault NET\n+\tdefault NET_LEGACY\n \n config NO_NET\n \tbool \"No networking support\"\n \thelp\n \t  Do not include networking support\n \n-config NET\n+config NET_LEGACY\n \tbool \"Legacy U-Boot networking stack\"\n \tselect NETDEVICES\n \thelp\n@@ -27,14 +27,14 @@ config NET_LWIP\n \t  Include networking support based on the lwIP (lightweight IP)\n \t  TCP/IP stack (https://nongnu.org/lwip). This is a replacement for\n \t  the default U-Boot network stack and applications located in net/\n-\t  and enabled via CONFIG_NET as well as other pieces of code that\n-\t  depend on CONFIG_NET (such as cmd/net.c enabled via CONFIG_CMD_NET).\n-\t  Therefore the two symbols CONFIG_NET and CONFIG_NET_LWIP are mutually\n+\t  and enabled via CONFIG_NET_LEGACY as well as other pieces of code that\n+\t  depend on CONFIG_NET_LEGACY (such as cmd/net.c enabled via CONFIG_CMD_NET).\n+\t  Therefore the two symbols CONFIG_NET_LEGACY and CONFIG_NET_LWIP are mutually\n \t  exclusive.\n \n endchoice\n \n-if NET\n+if NET_LEGACY\n \n config ARP_TIMEOUT\n \tint \"Milliseconds before trying ARP again\"\n@@ -227,11 +227,11 @@ config IPV6\n \t  ip6addr, serverip6. If a u-boot command is capable to parse an IPv6\n \t  address and find it, it will force using IPv6 in the network stack.\n \n-endif   # if NET\n+endif   # if NET_LEGACY\n \n source \"net/lwip/Kconfig\"\n \n-if NET || NET_LWIP\n+if NET_LEGACY || NET_LWIP\n \n config BOOTDEV_ETH\n \tbool \"Enable bootdev for ethernet\"\n@@ -260,7 +260,7 @@ config DNS\n \n config WGET\n \tbool \"Enable wget\"\n-\tselect PROT_TCP if NET\n+\tselect PROT_TCP if NET_LEGACY\n \tselect PROT_TCP_LWIP if NET_LWIP\n \thelp\n \t  Selecting this will enable wget, an interface to send HTTP requests\n@@ -276,7 +276,7 @@ config TFTP_BLOCKSIZE\n \t  almost-MTU block sizes.\n \t  You can also activate CONFIG_IP_DEFRAG to set a larger block.\n \n-endif   # if NET || NET_LWIP\n+endif   # if NET_LEGACY || NET_LWIP\n \n config SYS_RX_ETH_BUFFER\n         int \"Number of receive packet buffers\"\ndiff --git a/net/Makefile b/net/Makefile\nindex 3a32bc8b0e7..a9323ceb40b 100644\n--- a/net/Makefile\n+++ b/net/Makefile\n@@ -5,9 +5,9 @@\n \n #ccflags-y += -DDEBUG\n \n-ifeq ($(CONFIG_NET),y)\n+ifeq ($(CONFIG_NET_LEGACY),y)\n \n-obj-$(CONFIG_NET)      += arp.o\n+obj-$(CONFIG_NET_LEGACY)      += arp.o\n obj-$(CONFIG_CMD_BOOTP) += bootp.o\n obj-$(CONFIG_CMD_CDP)  += cdp.o\n obj-$(CONFIG_DNS)  += dns.o\n@@ -37,7 +37,7 @@ CFLAGS_eth_common.o += -Wno-format-extra-args\n \n endif\n \n-ifeq ($(filter y,$(CONFIG_NET) $(CONFIG_NET_LWIP)),y)\n+ifeq ($(filter y,$(CONFIG_NET_LEGACY) $(CONFIG_NET_LWIP)),y)\n obj-$(CONFIG_DM_DSA)   += dsa-uclass.o\n obj-$(CONFIG_$(PHASE_)DM_ETH) += eth-uclass.o\n obj-$(CONFIG_$(PHASE_)BOOTDEV_ETH) += eth_bootdev.o\ndiff --git a/test/cmd/Makefile b/test/cmd/Makefile\nindex 8c9f112782d..5f2815b1bb6 100644\n--- a/test/cmd/Makefile\n+++ b/test/cmd/Makefile\n@@ -39,7 +39,7 @@ obj-$(CONFIG_CMD_PWM) += pwm.o\n obj-$(CONFIG_CMD_READ) += rw.o\n obj-$(CONFIG_CMD_SETEXPR) += setexpr.o\n obj-$(CONFIG_CMD_TEMPERATURE) += temperature.o\n-ifdef CONFIG_NET\n+ifdef CONFIG_NET_LEGACY\n obj-$(CONFIG_CMD_WGET) += wget.o\n endif\n obj-$(CONFIG_ARM_FFA_TRANSPORT) += armffa.o\ndiff --git a/test/cmd/bdinfo.c b/test/cmd/bdinfo.c\nindex c3a3519d16d..3233a0a6a51 100644\n--- a/test/cmd/bdinfo.c\n+++ b/test/cmd/bdinfo.c\n@@ -172,7 +172,7 @@ static int bdinfo_test_all(struct unit_test_state *uts)\n \tut_assertok(test_num_l(uts, \"reloc off\", gd->reloc_off));\n \tut_assert_nextline(\"%-12s= %u-bit\", \"Build\", (uint)sizeof(void *) * 8);\n \n-\tif (IS_ENABLED(CONFIG_NET) || IS_ENABLED(CONFIG_NET_LWIP))\n+\tif (IS_ENABLED(CONFIG_NET_LEGACY) || IS_ENABLED(CONFIG_NET_LWIP))\n \t\tut_assertok(test_eth(uts));\n \n \t/*\n@@ -314,7 +314,7 @@ static int bdinfo_test_help(struct unit_test_state *uts)\n \t\t\tut_assert_nextlinen(\"bdinfo -a\");\n \t\tut_assert_nextlinen(\"  - print all Board Info structure\");\n \t\tif (CONFIG_IS_ENABLED(GETOPT)) {\n-\t\t\tif (IS_ENABLED(CONFIG_NET) || IS_ENABLED(CONFIG_NET_LWIP)) {\n+\t\t\tif (IS_ENABLED(CONFIG_NET_LEGACY) || IS_ENABLED(CONFIG_NET_LWIP)) {\n \t\t\t\tut_assert_nextlinen(\"bdinfo -e\");\n \t\t\t\tut_assert_nextlinen(\"  - print Board Info related to network\");\n \t\t\t}\n@@ -348,7 +348,7 @@ static int bdinfo_test_eth(struct unit_test_state *uts)\n \tut_assertok(run_commandf(\"bdinfo -e\"));\n \tif (!CONFIG_IS_ENABLED(GETOPT))\n \t\tut_assertok(bdinfo_test_all(uts));\n-\telse if (IS_ENABLED(CONFIG_NET) || IS_ENABLED(CONFIG_NET_LWIP))\n+\telse if (IS_ENABLED(CONFIG_NET_LEGACY) || IS_ENABLED(CONFIG_NET_LWIP))\n \t\tut_assertok(test_eth(uts));\n \tut_assert_console_end();\n \ndiff --git a/test/dm/eth.c b/test/dm/eth.c\nindex 1087ae9572d..ed0b57d8861 100644\n--- a/test/dm/eth.c\n+++ b/test/dm/eth.c\n@@ -449,7 +449,7 @@ static int dm_test_net_retry(struct unit_test_state *uts)\n }\n DM_TEST(dm_test_net_retry, UTF_SCAN_FDT);\n \n-#if CONFIG_IS_ENABLED(NET)\n+#if CONFIG_IS_ENABLED(NET_LEGACY)\n static int sb_check_arp_reply(struct udevice *dev, void *packet,\n \t\t\t      unsigned int len)\n {\n@@ -517,7 +517,7 @@ static int sb_with_async_arp_handler(struct udevice *dev, void *packet,\n }\n #endif\n \n-#if CONFIG_IS_ENABLED(NET)\n+#if CONFIG_IS_ENABLED(NET_LEGACY)\n static int dm_test_eth_async_arp_reply(struct unit_test_state *uts)\n {\n \tnet_ping_ip = string_to_ip(\"1.1.2.2\");\n@@ -537,7 +537,7 @@ static int dm_test_eth_async_arp_reply(struct unit_test_state *uts)\n DM_TEST(dm_test_eth_async_arp_reply, UTF_SCAN_FDT);\n #endif\n \n-#if CONFIG_IS_ENABLED(NET)\n+#if CONFIG_IS_ENABLED(NET_LEGACY)\n static int sb_check_ping_reply(struct udevice *dev, void *packet,\n \t\t\t       unsigned int len)\n {\ndiff --git a/test/py/tests/test_efi_fit.py b/test/py/tests/test_efi_fit.py\nindex 63ee8e6cef2..409cfdfd56f 100644\n--- a/test/py/tests/test_efi_fit.py\n+++ b/test/py/tests/test_efi_fit.py\n@@ -225,7 +225,7 @@ def test_efi_fit_launch(ubman):\n \n         has_dhcp = ubman.config.buildconfig.get('config_cmd_dhcp', 'n') == 'y'\n         if not has_dhcp:\n-            ubman.log.warning('CONFIG_NET != y: Skipping static network setup')\n+            ubman.log.warning('CONFIG_NET_LEGACY != y: Skipping static network setup')\n             return False\n \n         env_vars = ubman.config.env.get('env__net_static_env_vars', None)\ndiff --git a/test/py/tests/test_efi_loader.py b/test/py/tests/test_efi_loader.py\nindex dc58c0d4dbd..fc45209a581 100644\n--- a/test/py/tests/test_efi_loader.py\n+++ b/test/py/tests/test_efi_loader.py\n@@ -98,7 +98,7 @@ def test_efi_setup_dhcp(ubman):\n     global net_set_up\n     net_set_up = True\n \n-@pytest.mark.buildconfigspec('net', 'net_lwip')\n+@pytest.mark.buildconfigspec('net_legacy', 'net_lwip')\n def test_efi_setup_static(ubman):\n     \"\"\"Set up the network using a static IP configuration.\n \ndiff --git a/test/py/tests/test_fpga.py b/test/py/tests/test_fpga.py\nindex 299a8653f74..0ab47c0bde5 100644\n--- a/test/py/tests/test_fpga.py\n+++ b/test/py/tests/test_fpga.py\n@@ -506,7 +506,7 @@ def test_fpga_loadfs(ubman):\n @pytest.mark.buildconfigspec('cmd_fpga_load_secure')\n @pytest.mark.buildconfigspec('cmd_net')\n @pytest.mark.buildconfigspec('cmd_dhcp')\n-@pytest.mark.buildconfigspec('net', 'net_lwip')\n+@pytest.mark.buildconfigspec('net_legacy', 'net_lwip')\n def test_fpga_secure_bit_auth(ubman):\n \n     test_net.test_net_dhcp(ubman)\n@@ -534,7 +534,7 @@ def test_fpga_secure_bit_auth(ubman):\n @pytest.mark.buildconfigspec('cmd_fpga_load_secure')\n @pytest.mark.buildconfigspec('cmd_net')\n @pytest.mark.buildconfigspec('cmd_dhcp')\n-@pytest.mark.buildconfigspec('net', 'net_lwip')\n+@pytest.mark.buildconfigspec('net_legacy', 'net_lwip')\n def test_fpga_secure_bit_img_auth_kup(ubman):\n \n     test_net.test_net_dhcp(ubman)\ndiff --git a/test/py/tests/test_net.py b/test/py/tests/test_net.py\nindex 6ef02e53389..4f899530060 100644\n--- a/test/py/tests/test_net.py\n+++ b/test/py/tests/test_net.py\n@@ -201,7 +201,7 @@ def test_net_dhcp6(ubman):\n     global net6_set_up\n     net6_set_up = True\n \n-@pytest.mark.buildconfigspec('net', 'net_lwip')\n+@pytest.mark.buildconfigspec('net_legacy', 'net_lwip')\n def test_net_setup_static(ubman):\n     \"\"\"Set up a static IP configuration.\n \n",
    "prefixes": [
        "2/6"
    ]
}