{"id":2232471,"url":"http://patchwork.ozlabs.org/api/1.1/patches/2232471/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/20260504-ufetch-net-v2-1-01bec4ca7169@cherry.de/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/1.1/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},"msgid":"<20260504-ufetch-net-v2-1-01bec4ca7169@cherry.de>","date":"2026-05-04T14:48:28","name":"[v2,1/2] cmd: ufetch: show net feature when NET_LWIP is selected","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"33919ae5ac0df268d2514b1ed47f543a9abe1b5d","submitter":{"id":84425,"url":"http://patchwork.ozlabs.org/api/1.1/people/84425/?format=json","name":"Quentin Schulz","email":"foss+uboot@0leil.net"},"delegate":{"id":157425,"url":"http://patchwork.ozlabs.org/api/1.1/users/157425/?format=json","username":"jforissier","first_name":"Jerome","last_name":"Forissier","email":"jerome.forissier@linaro.org"},"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/20260504-ufetch-net-v2-1-01bec4ca7169@cherry.de/mbox/","series":[{"id":502676,"url":"http://patchwork.ozlabs.org/api/1.1/series/502676/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=502676","date":"2026-05-04T14:48:27","name":"cmd: ufetch: print Net feature when NET_LWIP=y, prettyfy if NET=n","version":2,"mbox":"http://patchwork.ozlabs.org/series/502676/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/2232471/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/2232471/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=ROF4Xb6X;\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=\"ROF4Xb6X\";\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 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g8Pfb584nz1yJ9\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 05 May 2026 00:48:55 +1000 (AEST)","from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id A875D8460D;\n\tMon,  4 May 2026 16:48:42 +0200 (CEST)","by phobos.denx.de (Postfix, from userid 109)\n id 7854B8466B; Mon,  4 May 2026 16:48:41 +0200 (CEST)","from smtp-bc09.mail.infomaniak.ch (smtp-bc09.mail.infomaniak.ch\n [IPv6:2001:1600:19:8e30::bc09])\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 D023A8460C\n for <u-boot@lists.denx.de>; Mon,  4 May 2026 16:48:38 +0200 (CEST)","from smtp-4-0001.mail.infomaniak.ch (unknown\n [IPv6:2001:1600:7:10::a6c])\n by smtp-4-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4g8PfG42R1z1BX4;\n Mon,  4 May 2026 16:48:38 +0200 (CEST)","from unknown by smtp-4-0001.mail.infomaniak.ch (Postfix) with ESMTPA\n id 4g8PfF4ZsyzMts; Mon,  4 May 2026 16:48:37 +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 SPF_HELO_PASS,SPF_PASS 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=1777906118;\n bh=84hrh3g9PJB/sCxZY9FG14DMpptDObciSi+ZiHCh5xQ=;\n h=From:Date:Subject:References:In-Reply-To:To:Cc:From;\n b=ROF4Xb6XwaEwn+sZ4YyeqtviOIIdAXiRoSgrrljk8cwxuw8DH2X9HukgZTjRAMoPS\n 09KHiMYlmBi+/aXe95ELjKNw5DqUc/lc/9O5UIP7RwhNa67H5U9ls/oPOcG7o1d47u\n 9mmRwz0pz8Ca5F/7HEo+oVblTvN8CEebdOyL7zt6xtQyzRfH5g5XGLfBzrQ0pZuoA9\n nAaDmU58RTXnyRLJ/Qbqu1Nl0XeVqKTraMScRbmm3MnHbmDxP3HblvLIGaNu6vUTuU\n efZjTkF4N6osl1xm90Zl4i0aYxqi/znEnz/AtaA0//QhUq5Fh1L1XzewsR11aYCabK\n akRIRFfv+7VWA==","From":"Quentin Schulz <foss+uboot@0leil.net>","Date":"Mon, 04 May 2026 16:48:28 +0200","Subject":"[PATCH v2 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":"<20260504-ufetch-net-v2-1-01bec4ca7169@cherry.de>","References":"<20260504-ufetch-net-v2-0-01bec4ca7169@cherry.de>","In-Reply-To":"<20260504-ufetch-net-v2-0-01bec4ca7169@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":["v2","1/2"]}