소스 검색

[KConfig] Add SFUD KConfig.

armink 8 년 전
부모
커밋
f7a85a9f99
1개의 변경된 파일17개의 추가작업 그리고 0개의 파일을 삭제
  1. 17 0
      components/drivers/KConfig

+ 17 - 0
components/drivers/KConfig

@@ -45,6 +45,23 @@ config RT_USING_SPI
     default n
 
     if RT_USING_SPI
+        config RT_USING_SFUD
+            bool "Using Serial Flash Universal Driver"
+            default n
+            if RT_USING_SFUD            
+                config RT_SFUD_USING_SFDP
+                bool "Using auto probe flash JEDEC SFDP parameter"
+                default y
+                
+                config RT_SFUD_USING_FLASH_INFO_TABLE
+                bool "Using defined supported flash chip information table"
+                default y
+                
+                config RT_SFUD_DEBUG
+                bool "Show more SFUD debug information"
+                default n
+            endif
+    
         config RT_USING_W25QXX
             bool "Using W25QXX SPI NorFlash"
             default n