Forráskód Böngészése

[DM/PHY] Make Kconfig import for DM

Signed-off-by: GuEe-GUI <2991707448@qq.com>
GuEe-GUI 1 hónapja
szülő
commit
7c4e928df7
1 módosított fájl, 6 hozzáadás és 2 törlés
  1. 6 2
      components/drivers/phy/Kconfig

+ 6 - 2
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