From: Tom Rini Date: Wed, 12 Nov 2025 21:21:40 +0000 (-0600) Subject: net: phy: Disallow PHY_MSCC and PHY_VITESSE under COMPILE_TEST X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05acfaef21d41163740eeba228519940c694166c;p=thirdparty%2Fu-boot.git net: phy: Disallow PHY_MSCC and PHY_VITESSE under COMPILE_TEST 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 --- diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig index b254a0f4591..57803ab5c59 100644 --- a/drivers/net/phy/Kconfig +++ b/drivers/net/phy/Kconfig @@ -238,6 +238,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 @@ -342,6 +343,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"