efi_loader: Let networking support depend on NETDEVICES
authorJan Kiszka <jan.kiszka@siemens.com>
Fri, 14 Oct 2022 16:10:06 +0000 (18:10 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sun, 6 Nov 2022 09:50:04 +0000 (10:50 +0100)
commit77b5c4a5b1dcc6dafde116bfdd66f769769a0aeb
tree55a24eae5815bef26b4c8c3181088bde91c49d09
parent607566d010925c53355839c6e6c6451b15adfa58
efi_loader: Let networking support depend on NETDEVICES

CONFIG_NET does not imply that there are actually network devices
available, only CONFIG_NETDEVICES does. Changing to this dependency
obsoletes the check in Kconfig because NETDEVICES means DM_ETH.

Fixes: 0efe1bcf5c2c ("efi_loader: Add network access support")
Suggested-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/Kconfig
lib/efi_loader/Makefile
lib/efi_loader/efi_device_path.c
lib/efi_loader/efi_setup.c
lib/efi_selftest/Makefile
net/bootp.c