[PATCH] net: phy: Disallow PHY_MSCC and PHY_VITESSE under COMPILE_TEST
Tom Rini
trini at konsulko.com
Wed Nov 12 22:21:40 CET 2025
These two PHY drivers have some overlap of supported PHYs. A longer term
effort is needed to both remove duplication and enhance support by
dealing with some issues that downstream vendor drivers address. For
now, make both of these depend on !COMPILE_TEST so that we can enable
"allyesconfig".
Signed-off-by: Tom Rini <trini at konsulko.com>
---
drivers/net/phy/Kconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig
index 018be98705a2..791bb58b0482 100644
--- a/drivers/net/phy/Kconfig
+++ b/drivers/net/phy/Kconfig
@@ -236,6 +236,7 @@ config PHY_MOTORCOMM
Currently supports the YT8511 and YT8531 Gigabit Ethernet PHYs.
config PHY_MSCC
+ depends on !COMPILE_TEST
bool "Microsemi Corp Ethernet PHYs support"
config PHY_NATSEMI
@@ -340,6 +341,7 @@ config PHY_TI_GENERIC
config PHY_VITESSE
bool "Vitesse Ethernet PHYs support"
+ depends on !COMPILE_TEST
config PHY_XILINX
bool "Xilinx Ethernet PHYs support"
--
2.43.0
More information about the U-Boot
mailing list