summaryrefslogtreecommitdiff
path: root/common/spl/Kconfig
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-08-08 21:20:31 +0300
committerTom Rini <trini@konsulko.com>2021-09-04 19:51:47 +0300
commit9f6649209f09adcdcec4f194cbca9bdcf9c43bef (patch)
treebc6e51a4c759f59065d86c25ab0bb110addd28aa /common/spl/Kconfig
parent5ed16a9511d735feea74d6b4ea940f5e6b5dd8fc (diff)
downloadu-boot-9f6649209f09adcdcec4f194cbca9bdcf9c43bef.tar.xz
net: Move network rules to drivers/net
The code under drivers/net is related to ethernet networking drivers, in some fashion or another. Drop these from the top-level Makefile and also move the phy rule into drivers/net/Makefile which is where it belongs. Make the new rule for drivers/net check for the build-stage relevant ETH symbol. Fix up some Kconfig dependencies while we're here to mirror how the Makefile logic now works. Signed-off-by: Simon Glass <sjg@chromium.org> [trini: Introduce ETH, Kconfig dependency changes, am43xx fix] Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'common/spl/Kconfig')
-rw-r--r--common/spl/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index c43df88e4a..34e8a12036 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -585,6 +585,7 @@ config SPL_SAVEENV
config SPL_ETH
bool "Support Ethernet"
depends on SPL_ENV_SUPPORT
+ depends on SPL_NET
help
Enable access to the network subsystem and associated Ethernet
drivers in SPL. This permits SPL to load U-Boot over an Ethernet
@@ -1216,6 +1217,7 @@ if SPL_USB_GADGET
config SPL_USB_ETHER
bool "Support USB Ethernet drivers"
+ depends on SPL_NET
help
Enable access to the USB network subsystem and associated
drivers in SPL. This permits SPL to load U-Boot over a