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 <[email protected]>
---
Cc: Jerome Forissier <[email protected]>
---
 drivers/net/Kconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index 9d4e9f069701..ed07e286676c 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -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
-- 
2.43.0

Reply via email to