]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
net: Correct dependencies for HIFEMAC_ETH
authorTom Rini <trini@konsulko.com>
Mon, 23 Mar 2026 19:53:00 +0000 (13:53 -0600)
committerJerome Forissier <jerome.forissier@arm.com>
Tue, 31 Mar 2026 14:54:49 +0000 (16:54 +0200)
The HIFEMAC_ETH functionality can only work with both DM_ETH_PHY and
DM_MDIO enabled (it calls one of the functions that requires both), so
express this dependency in Kconfig.

Signed-off-by: Tom Rini <trini@konsulko.com>
drivers/net/Kconfig

index 9d4e9f069701d4ae5e206f530a396a283e679ed4..ed07e286676cf81cae6a776fc48cc3c6cd89d33d 100644 (file)
@@ -983,6 +983,8 @@ config HIFEMAC_ETH
        depends on DM && OF_CONTROL
        select CLK
        select DM_CLK
+       select DM_ETH_PHY
+       select DM_MDIO
        select DM_RESET
        select PHYLIB
        help