soc: nxp_imx: Configure default sdhc driver at the soc series level

Configures the default sdhc driver for the imx rt soc series so
applications don't have to configure it explicitly.

Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
This commit is contained in:
Maureen Helm 2019-10-09 15:22:07 -05:00 committed by Kumar Gala
commit f8cfe453fd
2 changed files with 7 additions and 1 deletions

View file

@ -2,7 +2,6 @@ CONFIG_GPIO_MCUX_IGPIO_1=y
CONFIG_GPIO_MCUX_IGPIO_2=y
CONFIG_DISK_ACCESS=y
CONFIG_DISK_ACCESS_SDHC=y
CONFIG_DISK_ACCESS_USDHC=y
CONFIG_DISK_ACCESS_USDHC1=y
CONFIG_LOG=y
CONFIG_FILE_SYSTEM=y

View file

@ -22,6 +22,13 @@ config CLOCK_CONTROL_MCUX_CCM
endif # CLOCK_CONTROL
if DISK_ACCESS_SDHC
config DISK_ACCESS_USDHC
default y if (HAS_MCUX_USDHC1 || HAS_MCUX_USDHC2)
endif # DISK_ACCESS_SDHC
if DISPLAY
config DISPLAY_MCUX_ELCDIF