[DM/PHY] Make Kconfig import for DM

Signed-off-by: GuEe-GUI <2991707448@qq.com>
This commit is contained in:
GuEe-GUI
2025-12-01 17:03:18 +08:00
committed by R b b666
parent 62e1fe3699
commit 7c4e928df7

View File

@@ -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