{"id":2232785,"url":"http://patchwork.ozlabs.org/api/1.2/patches/2232785/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/20260505-ufetch-net-v3-1-eee5eb9ca5ce@cherry.de/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/1.2/projects/18/?format=json","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,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20260505-ufetch-net-v3-1-eee5eb9ca5ce@cherry.de>","list_archive_url":null,"date":"2026-05-05T09:14:31","name":"[v3,1/2] cmd: ufetch: show net feature when NET_LWIP is selected","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"33919ae5ac0df268d2514b1ed47f543a9abe1b5d","submitter":{"id":84425,"url":"http://patchwork.ozlabs.org/api/1.2/people/84425/?format=json","name":"Quentin Schulz","email":"foss+uboot@0leil.net"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/20260505-ufetch-net-v3-1-eee5eb9ca5ce@cherry.de/mbox/","series":[{"id":502792,"url":"http://patchwork.ozlabs.org/api/1.2/series/502792/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=502792","date":"2026-05-05T09:14:31","name":"cmd: ufetch: print Net feature when NET_LWIP=y, prettyfy if NET=n","version":3,"mbox":"http://patchwork.ozlabs.org/series/502792/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/2232785/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/2232785/checks/","tags":{},"related":[],"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=PmssVbuF;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=85.214.62.61; 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=\"PmssVbuF\";\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 [85.214.62.61])\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 4g8tBg5fMXz1yJV\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 05 May 2026 19:14:51 +1000 (AEST)","from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 0B013846B1;\n\tTue,  5 May 2026 11:14:44 +0200 (CEST)","by phobos.denx.de (Postfix, from userid 109)\n id D723E84877; Tue,  5 May 2026 11:14:42 +0200 (CEST)","from smtp-bc0d.mail.infomaniak.ch (smtp-bc0d.mail.infomaniak.ch\n [45.157.188.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 7F7AD846B1\n for <u-boot@lists.denx.de>; Tue,  5 May 2026 11:14:40 +0200 (CEST)","from smtp-4-0001.mail.infomaniak.ch (smtp-4-0001.mail.infomaniak.ch\n [10.7.10.108])\n by smtp-4-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4g8tBS1yy7z7Tt;\n Tue,  5 May 2026 11:14:40 +0200 (CEST)","from unknown by smtp-4-0001.mail.infomaniak.ch (Postfix) with ESMTPA\n id 4g8tBR4L97z519; Tue,  5 May 2026 11:14:39 +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=-2.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=1777972480;\n bh=84hrh3g9PJB/sCxZY9FG14DMpptDObciSi+ZiHCh5xQ=;\n h=From:Date:Subject:References:In-Reply-To:To:Cc:From;\n b=PmssVbuFkOpeu1VFI1jvloiOsw7bdiRIdu0mYrs0WkhFu329kejeXzmB6RaEWp63B\n s9W85FD4lm4Lm7bQptYbVqMUC92QoXmINk+bQR5v8v07HffdbqSH6F60pJyBXxiJ9x\n OLkPEomfJZMXJxZWZoDSegOD4cSxTWhp2Hmp5aQG2nuKd4qSoeynBqOtSBepmqNO5X\n UM8/OyGEBXvmQeCSnfhplMxkGT0ykO1cssDEaqKS/9uNvP90O4pGZ0iE1Gy4qqTLP+\n p2s+3NrhBYyExsBZKBzvjY6x41vrz3T95mFy6UdLpIVIJJUp/CInf+VIHAPsuwkCbK\n p5VFeLvMFkhYA==","From":"Quentin Schulz <foss+uboot@0leil.net>","Date":"Tue, 05 May 2026 11:14:31 +0200","Subject":"[PATCH v3 1/2] cmd: ufetch: show net feature when NET_LWIP is\n selected","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"7bit","Message-Id":"<20260505-ufetch-net-v3-1-eee5eb9ca5ce@cherry.de>","References":"<20260505-ufetch-net-v3-0-eee5eb9ca5ce@cherry.de>","In-Reply-To":"<20260505-ufetch-net-v3-0-eee5eb9ca5ce@cherry.de>","To":"u-boot@lists.denx.de","Cc":"Casey Connolly <casey.connolly@linaro.org>,\n Tom Rini <trini@konsulko.com>,\n Ilias Apalodimas <ilias.apalodimas@linaro.org>,\n Andrew Goodbody <andrew.goodbody@linaro.org>,\n Peter Robinson <pbrobinson@gmail.com>,\n Heinrich Schuchardt <xypron.glpk@gmx.de>, Simon Glass <sjg@chromium.org>,\n Quentin Schulz <quentin.schulz@cherry.de>","X-Mailer":"b4 0.15-dev-47773","X-Infomaniak-Routing":"alpha","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\nWe've had a new lwIP networking stack for a couple of years already, so\nlet's show there is a \"net\" feature if it's selected. Since NET_LEGACY\n|| NET_LWIP is the same as NET, let's check on NET.\n\nReported-by: Simon Glass <sjg@chromium.org>\nCloses: https://lore.kernel.org/u-boot/CAFLszTgZC1FGy8965pHiG-u=FhrguftRv41ghQ_Qb_RRXx6tyg@mail.gmail.com/\nReviewed-by: Simon Glass <sjg@chromium.org>\nReviewed-by: Casey Connolly <casey.connolly@linaro.org>\nSigned-off-by: Quentin Schulz <quentin.schulz@cherry.de>\n---\n cmd/ufetch.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)","diff":"diff --git a/cmd/ufetch.c b/cmd/ufetch.c\nindex f8dc904bdd0..bc5db08eee1 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_LEGACY))\n+\t\t\tif (IS_ENABLED(CONFIG_NET))\n \t\t\t\tprintf(\"Net\");\n \t\t\tif (IS_ENABLED(CONFIG_EFI_LOADER))\n \t\t\t\tprintf(\", EFI\");\n","prefixes":["v3","1/2"]}