summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
Diffstat (limited to 'components')
-rw-r--r--components/drivers/phy/Kconfig8
1 files changed, 6 insertions, 2 deletions
diff --git a/components/drivers/phy/Kconfig b/components/drivers/phy/Kconfig
index 92dcba8c4e..cf0560aed5 100644
--- a/components/drivers/phy/Kconfig
+++ b/components/drivers/phy/Kconfig
@@ -1,8 +1,12 @@
-config RT_USING_PHY
+menuconfig RT_USING_PHY
bool "Using ethernet phy device drivers"
default n
-config RT_USING_PHY_V2
+menuconfig RT_USING_PHY_V2
bool "Using phy device and mii bus v2"
depends on !RT_USING_PHY
default n
+
+if RT_USING_DM && RT_USING_PHY_V2
+ osource "$(SOC_DM_PHY_DIR)/Kconfig"
+endif