]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
net: phy: Disallow PHY_MSCC and PHY_VITESSE under COMPILE_TEST
authorTom Rini <trini@konsulko.com>
Wed, 12 Nov 2025 21:21:40 +0000 (15:21 -0600)
committerJerome Forissier <jerome.forissier@linaro.org>
Mon, 1 Dec 2025 09:37:06 +0000 (10:37 +0100)
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@konsulko.com>
drivers/net/phy/Kconfig

index b254a0f4591e9de475a690809978ee8f270c82a2..57803ab5c59c6e39269293ca76557e6979f2727a 100644 (file)
@@ -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"