boards: mimxrt1050_evk: Configure default sdhc instance at board level

Configures the default instance of the sdhc driver for the
mimxrt1050_evk board so applications don't have to configure it
explicitly. Similarly, enables the gpio instance required by the sdhc
driver.

Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
This commit is contained in:
Maureen Helm 2019-10-09 15:30:48 -05:00 committed by Kumar Gala
parent f8cfe453fd
commit 65d9f541a7
2 changed files with 8 additions and 4 deletions

View File

@ -18,13 +18,20 @@ choice DATA_LOCATION
default DATA_SEMC
endchoice
if DISK_ACCESS_USDHC
config DISK_ACCESS_USDHC1
default y
endif # DISK_ACCESS_USDHC
if GPIO_MCUX_IGPIO
config GPIO_MCUX_IGPIO_1
default y
config GPIO_MCUX_IGPIO_2
default n
default y if DISK_ACCESS_USDHC1
config GPIO_MCUX_IGPIO_3
default n

View File

@ -1,8 +1,5 @@
CONFIG_GPIO_MCUX_IGPIO_1=y
CONFIG_GPIO_MCUX_IGPIO_2=y
CONFIG_DISK_ACCESS=y
CONFIG_DISK_ACCESS_SDHC=y
CONFIG_DISK_ACCESS_USDHC1=y
CONFIG_LOG=y
CONFIG_FILE_SYSTEM=y
CONFIG_FAT_FILESYSTEM_ELM=y