From 7c4e928df75594883cf06795dcbb83bce56100a3 Mon Sep 17 00:00:00 2001 From: GuEe-GUI <2991707448@qq.com> Date: Mon, 1 Dec 2025 17:03:18 +0800 Subject: [PATCH] [DM/PHY] Make Kconfig import for DM Signed-off-by: GuEe-GUI <2991707448@qq.com> --- components/drivers/phy/Kconfig | 8 ++++++-- 1 file 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