diff --git a/Kconfig b/Kconfig index 1679bba5d75..24d238f96df 100644 --- a/Kconfig +++ b/Kconfig @@ -804,14 +804,14 @@ config NO_NET config NET bool "Legacy U-Boot networking stack" - imply NETDEVICES + select NETDEVICES help Include networking support with U-Boot's internal implementation of the TCP/IP protocol stack. config NET_LWIP bool "Use lwIP for networking stack" - imply NETDEVICES + select NETDEVICES help Include networking support based on the lwIP (lightweight IP) TCP/IP stack (https://nongnu.org/lwip). This is a replacement for diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 02063ce3aa9..9d4e9f06970 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -90,9 +90,10 @@ config DSA_SANDBOX Ethernet device used as DSA master, to test DSA class code, including exported DSA API and datapath processing of Ethernet traffic. -menuconfig NETDEVICES - bool "Network device support" - depends on NET || NET_LWIP +menu "Network device support" + +config NETDEVICES + bool select DM_ETH help You must select Y to enable any network device support @@ -1106,3 +1107,5 @@ source "drivers/net/pfe_eth/Kconfig" source "drivers/net/fsl-mc/Kconfig" endif # NETDEVICES + +endmenu