Kconfig: Kconfig support i.MX RT USDHC

Add Kconifg options to support i.MXRT USDHC driver.

Signed-off-by: Jun Yang <jun.yang@nxp.com>
This commit is contained in:
Jun Yang 2019-07-03 21:13:29 -07:00 committed by Maureen Helm
commit c6864dbea3
3 changed files with 49 additions and 0 deletions

View file

@ -107,6 +107,31 @@ config DISK_ACCESS_SPI_SDHC
help
File system on a SDHC card accessed over SPI.
config DISK_ACCESS_USDHC
bool "NXP i.MXRT USDHC driver"
depends on (HAS_MCUX_USDHC1 || HAS_MCUX_USDHC2)
help
File system on a SDHC card accessed over
NXP USDHC.
if DISK_ACCESS_USDHC
config DISK_ACCESS_USDHC1
bool "NXP i.MXRT USDHC instance 1"
depends on HAS_MCUX_USDHC1
help
File system on a SDHC card accessed over
USDHC instance 1.
config DISK_ACCESS_USDHC2
bool "NXP i.MXRT USDHC instance 2"
depends on HAS_MCUX_USDHC2
help
File system on a SDHC card accessed over
USDHC instance 2.
endif # DISK_ACCESS_USDHC
config DISK_SDHC_VOLUME_NAME
string "SDHC Disk mount point or drive name"
default "SDHC"