net: Make NET imply NETDEVICES
authorTom Rini <trini@konsulko.com>
Thu, 9 Nov 2023 00:12:25 +0000 (19:12 -0500)
committerTom Rini <trini@konsulko.com>
Thu, 23 Nov 2023 00:53:39 +0000 (19:53 -0500)
commitf4449038f68578be553cc120360344f0d72b7a0a
tree9f0e9450dbe6fed0539cc72fae0b21cdb769e205
parent6df4e7b50a139dbd4ebb24e15d84bb363d1b0fe0
net: Make NET imply NETDEVICES

Normally, when NET is enabled, CMD_NET will then be enabled and in turn
NETDEVICES will (likely) be enabled via imply. However, if we disable
CMDLINE in a defconfig we now no longer get CMD_NET enabling NETDEVICES
for us. This suggestion (as an imply is) really isn't about the network
commands but network itself and is a legacy of how intertwined
NET/CMD_NET were historically. Move this over to the NET entry instead
where it is a more logical fit.

Reported-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
cmd/Kconfig
net/Kconfig