[PATCH] net: Correct dependencies for HIFEMAC_ETH

Tom Rini trini at konsulko.com
Mon Mar 23 20:53:00 CET 2026


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 at konsulko.com>
---
Cc: Jerome Forissier <jerome.forissier at arm.com>
---
 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



More information about the U-Boot mailing list