Skip to content

Commit 7c4e928

Browse files
GuEe-GUIRbb666
authored andcommitted
[DM/PHY] Make Kconfig import for DM
Signed-off-by: GuEe-GUI <2991707448@qq.com>
1 parent 62e1fe3 commit 7c4e928

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

components/drivers/phy/Kconfig

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1-
config RT_USING_PHY
1+
menuconfig RT_USING_PHY
22
bool "Using ethernet phy device drivers"
33
default n
44

5-
config RT_USING_PHY_V2
5+
menuconfig RT_USING_PHY_V2
66
bool "Using phy device and mii bus v2"
77
depends on !RT_USING_PHY
88
default n
9+
10+
if RT_USING_DM && RT_USING_PHY_V2
11+
osource "$(SOC_DM_PHY_DIR)/Kconfig"
12+
endif

0 commit comments

Comments
 (0)