net: Move network rules to drivers/net
authorSimon Glass <sjg@chromium.org>
Sun, 8 Aug 2021 18:20:31 +0000 (12:20 -0600)
committerTom Rini <trini@konsulko.com>
Sat, 4 Sep 2021 16:51:47 +0000 (12:51 -0400)
commit9f6649209f09adcdcec4f194cbca9bdcf9c43bef
treebc6e51a4c759f59065d86c25ab0bb110addd28aa
parent5ed16a9511d735feea74d6b4ea940f5e6b5dd8fc
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>
Makefile
common/spl/Kconfig
drivers/Makefile
drivers/net/Kconfig
drivers/net/Makefile
include/configs/am43xx_evm.h
net/eth_common.c