diff options
| author | Quentin Schulz <[email protected]> | 2026-05-05 11:14:31 +0200 |
|---|---|---|
| committer | Casey Connolly <[email protected]> | 2026-05-18 11:04:14 +0200 |
| commit | 53e6ccc0c10ac8b7b8808ffafaa3f3104902fe8a (patch) | |
| tree | 950c8a01262c6bf93385f486ac5101c41e251b66 /cmd | |
| parent | 8fce24a418bdd498ae478fa381023db2f8565f44 (diff) | |
cmd: ufetch: show net feature when NET_LWIP is selected
We've had a new lwIP networking stack for a couple of years already, so
let's show there is a "net" feature if it's selected. Since NET_LEGACY
|| NET_LWIP is the same as NET, let's check on NET.
Reported-by: Simon Glass <[email protected]>
Closes: https://lore.kernel.org/u-boot/CAFLszTgZC1FGy8965pHiG-u=FhrguftRv41ghQ_Qb_RRXx6tyg@mail.gmail.com/
Reviewed-by: Simon Glass <[email protected]>
Reviewed-by: Casey Connolly <[email protected]>
Signed-off-by: Quentin Schulz <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Casey Connolly <[email protected]>
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/ufetch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/ufetch.c b/cmd/ufetch.c index f8dc904bdd0..bc5db08eee1 100644 --- a/cmd/ufetch.c +++ b/cmd/ufetch.c @@ -159,7 +159,7 @@ static int do_ufetch(struct cmd_tbl *cmdtp, int flag, int argc, break; case FEATURES: printf("Features:" RESET " "); - if (IS_ENABLED(CONFIG_NET_LEGACY)) + if (IS_ENABLED(CONFIG_NET)) printf("Net"); if (IS_ENABLED(CONFIG_EFI_LOADER)) printf(", EFI"); |
