mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
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 <sjg@chromium.org> Closes: https://lore.kernel.org/u-boot/CAFLszTgZC1FGy8965pHiG-u=FhrguftRv41ghQ_Qb_RRXx6tyg@mail.gmail.com/ Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Casey Connolly <casey.connolly@linaro.org> Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de> Link: https://patch.msgid.link/20260505-ufetch-net-v3-1-eee5eb9ca5ce@cherry.de Signed-off-by: Casey Connolly <casey.connolly@linaro.org>
This commit is contained in:
committed by
Casey Connolly
parent
8fce24a418
commit
53e6ccc0c1
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user