mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-27 17:40:22 +00:00
[DM/PHY] Make Kconfig import for DM
Signed-off-by: GuEe-GUI <2991707448@qq.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user