diff options
| author | Simon Glass <[email protected]> | 2021-08-08 12:20:31 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2021-09-04 12:51:47 -0400 |
| commit | 9f6649209f09adcdcec4f194cbca9bdcf9c43bef (patch) | |
| tree | bc6e51a4c759f59065d86c25ab0bb110addd28aa /common/spl | |
| parent | 5ed16a9511d735feea74d6b4ea940f5e6b5dd8fc (diff) | |
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 <[email protected]>
[trini: Introduce ETH, Kconfig dependency changes, am43xx fix]
Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'common/spl')
| -rw-r--r-- | common/spl/Kconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/spl/Kconfig b/common/spl/Kconfig index c43df88e4ae..34e8a12036b 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 |
