Browse Source

优化SDIO_MAX_FREQ依赖 删除PHY_USING_LAN8720A无用配置

Meco Man 4 years ago
parent
commit
ab6c69fe9e
1 changed files with 2 additions and 5 deletions
  1. 2 5
      bsp/stm32/stm32f407-atk-explorer/board/Kconfig

+ 2 - 5
bsp/stm32/stm32f407-atk-explorer/board/Kconfig

@@ -45,9 +45,6 @@ menu "Onboard Peripheral Drivers"
         bool "Enable I2C EEPROM (i2c1)"
         bool "Enable I2C EEPROM (i2c1)"
         select BSP_USING_I2C1
         select BSP_USING_I2C1
         default n
         default n
-
-    config PHY_USING_LAN8720A
-        bool
     
     
     config BSP_USING_ETH
     config BSP_USING_ETH
         bool "Enable Ethernet"
         bool "Enable Ethernet"
@@ -75,12 +72,12 @@ menu "Onboard Peripheral Drivers"
         select RT_USING_DFS
         select RT_USING_DFS
         select RT_USING_DFS_ELMFAT
         select RT_USING_DFS_ELMFAT
         default n
         default n
-    if BSP_USING_SDCARD
+
     config SDIO_MAX_FREQ
     config SDIO_MAX_FREQ
         int "sdio max freq"
         int "sdio max freq"
         range 0 24000000
         range 0 24000000
+        depends on BSP_USING_SDCARD
         default 1000000
         default 1000000
-    endif
 
 
 endmenu
 endmenu