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 BCH
config BCH_ENCRYPTION
bool "Enable BCH encryption"
default n
@@ -12,3 +14,5 @@ config BCH_ENCRYPTION_KEY_SIZE
int "AES key size"
default 16
depends on BCH_ENCRYPTION
endif # BCH