]> git.ipfire.org Git - thirdparty/u-boot.git/commit
simplify NET_LEGACY || NET_LWIP condition with NET condition
authorQuentin Schulz <quentin.schulz@cherry.de>
Mon, 20 Apr 2026 11:36:10 +0000 (13:36 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 27 Apr 2026 17:26:40 +0000 (11:26 -0600)
commit95d66d2eb02a4677c63d04c84ca21750a04c49f1
tree58ee6615053bc18d97ca85943b4fbad6a1ecc4bc
parentbd275172a84bf32a3f392b852801dee08a94956a
simplify NET_LEGACY || NET_LWIP condition with NET condition

Since the move to make NET a menuconfig and NO_NET a synonym of NET=n,
when NET is enabled, NET_LEGACY || NET_LWIP is necessarily true, so
let's simplify the various checks across the codebase.

SPL_NET_LWIP doesn't exist but SPL_NET_LEGACY is an alias for SPL_NET so
the proper symbol is still defined in SPL whenever needed.

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Peter Robinson <pbrobinson@gmail.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
23 files changed:
Makefile
board/engicam/imx8mp/icore_mx8mp.c
board/polyhex/imx8mp_debix_model_a/imx8mp_debix_model_a.c
board/ti/am335x/board.c
board/xilinx/common/board.c
cmd/Kconfig
cmd/bdinfo.c
common/Kconfig
common/board_r.c
doc/usage/cmd/bdinfo.rst
drivers/net/Kconfig
drivers/net/phy/Kconfig
drivers/usb/gadget/Kconfig
env/flags.c
include/env_callback.h
include/env_flags.h
include/net-common.h
lib/efi_loader/Kconfig
net/Makefile
test/cmd/bdinfo.c
test/py/tests/test_efi_loader.py
test/py/tests/test_fpga.py
test/py/tests/test_net.py