[PATCH] net: Move network PHY under NETDEVICES
Jerome Forissier
jerome.forissier at arm.com
Wed Mar 11 08:45:47 CET 2026
On 10/03/2026 17:26, Tom Rini wrote:
> A number of network PHY drivers have Kconfig dependencies on various
> network drivers under NETDEVICES. This is in addition to logical
> dependencies of network PHYs needing network drivers. Resolve the
> Kconfig problems by moving the network PHY lines to be after the network
> devices, within the overall NETDEVICES guard.
>
> Signed-off-by: Tom Rini <trini at konsulko.com>
> ---
> Cc: Jerome Forissier <jerome.forissier at arm.com>
> ---
> drivers/net/Kconfig | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
Indeed.
Acked-by: Jerome Forissier <jerome.forissier at arm.com>
> diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
> index d3ef050d1a13..42c232abc001 100644
> --- a/drivers/net/Kconfig
> +++ b/drivers/net/Kconfig
> @@ -1,7 +1,3 @@
> -source "drivers/net/phy/Kconfig"
> -source "drivers/net/pfe_eth/Kconfig"
> -source "drivers/net/fsl-mc/Kconfig"
> -
> config ETH
> def_bool y
>
> @@ -1098,4 +1094,8 @@ config MDIO_MUX_MESON_GXL
> This driver is used for the MDIO mux found on the Amlogic GXL & compatible
> SoCs.
>
> +source "drivers/net/phy/Kconfig"
> +source "drivers/net/pfe_eth/Kconfig"
> +source "drivers/net/fsl-mc/Kconfig"
> +
> endif # NETDEVICES
Thanks,
--
Jerome
More information about the U-Boot
mailing list