Refine Kconfig under drivers folder

1.Move subsystem config into sub folder
2.Remove the duplicated if/endif

Change-Id: I0b96ac0570ee1ba62bbb95586381f5410b90bcf0
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2020-02-06 12:21:22 +08:00
committed by Alan Carvalho de Assis
parent afd03f5a7e
commit ac2aec96e0
13 changed files with 64 additions and 82 deletions

View File

@@ -3,7 +3,9 @@
# see the file kconfig-language.txt in the NuttX tools repository.
#
if I2C
config ARCH_HAVE_I2CRESET
bool
default n
config I2C_SLAVE
bool "I2C Slave"
@@ -48,5 +50,3 @@ config I2CMULTIPLEXER_PCA9540BDP
# put more i2c mux devices here
endmenu # I2C Multiplexer Support
endif # I2C