drivers/Kconfig: Move if/endif to subfolder Kconfig

Move if/endif to subfolder Kconfig and make ARCH_HAVE_XXX option always selectable by moving out of if/endif
This commit is contained in:
Xiang Xiao
2020-02-08 15:30:09 +08:00
committed by Gregory Nutt
parent fa3e66fe82
commit 3cb259daa6
28 changed files with 136 additions and 93 deletions
+4
View File
@@ -3,6 +3,8 @@
# see the file kconfig-language.txt in the NuttX tools repository.
#
if MTD
comment "MTD Configuration"
config MTD_PARTITION
@@ -1087,3 +1089,5 @@ config GD5F_SPIFREQUENCY
default 20000000
endif # MTD_GD5F
endif # MTD