[PATCH] phy: marvell: Tighten MVEBU_COMPHY_SUPPORT dependencies

Tom Rini trini at konsulko.com
Thu Sep 25 22:56:14 CEST 2025


This driver cannot link without access to functions that are defined in
files that are only build on some platforms.  Express those requirements
in Kconfig as well.

Signed-off-by: Tom Rini <trini at konsulko.com>
---
Cc: Stefan Roese <stefan.roese at mailbox.org>
---
 drivers/phy/marvell/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/phy/marvell/Kconfig b/drivers/phy/marvell/Kconfig
index b5f69c0a96d3..c66197de1433 100644
--- a/drivers/phy/marvell/Kconfig
+++ b/drivers/phy/marvell/Kconfig
@@ -1,5 +1,6 @@
 config MVEBU_COMPHY_SUPPORT
 	bool "ComPhy SerDes driver"
+	depends on ARMADA_3700 || ARMADA_8K
 	help
 	  Choose this option to add support
 	  for Comphy driver.
-- 
2.43.0



More information about the U-Boot mailing list