boards: arm: imx rt: changes to flash driver Kconfig

selecting flash driver is now a choice.

Signed-off-by: Nicolai Glud <nicolai.glud@prevas.dk>
This commit is contained in:
Nicolai Glud 2021-09-22 18:39:49 +02:00 committed by David Leach
commit 31d583c713
6 changed files with 24 additions and 2 deletions

View file

@ -20,6 +20,7 @@ config FLASH_MCUX_FLEXSPI_NOR
config FLASH_MCUX_FLEXSPI_XIP
default y if FLASH && BOARD_MIMXRT1020_EVK
depends on MEMC_MCUX_FLEXSPI
if NETWORKING

View file

@ -17,6 +17,7 @@ config FLASH_MCUX_FLEXSPI_NOR
config FLASH_MCUX_FLEXSPI_XIP
default y if FLASH
depends on MEMC_MCUX_FLEXSPI
if NETWORKING

View file

@ -15,6 +15,18 @@ endchoice
config DISK_DRIVER_SDMMC
default y if DISK_DRIVERS
config FLASH_MCUX_FLEXSPI_HYPERFLASH
default y if FLASH && BOARD_MIMXRT1050_EVK
default n if FLASH && BOARD_MIMXRT1050_EVK_QSPI
config FLASH_MCUX_FLEXSPI_NOR
default y if FLASH && BOARD_MIMXRT1050_EVK_QSPI
default n if FLASH && BOARD_MIMXRT1050_EVK
config FLASH_MCUX_FLEXSPI_XIP
default y if FLASH
depends on MEMC_MCUX_FLEXSPI
config I2C
default y if KSCAN

View file

@ -17,10 +17,16 @@ config DISK_DRIVER_SDMMC
default y if DISK_DRIVERS
config FLASH_MCUX_FLEXSPI_NOR
default y if FLASH && BOARD_MIMXRT1060_EVK
default y if BOARD_MIMXRT1060_EVK
default n if BOARD_MIMXRT1060_EVK_HYPERFLASH
config FLASH_MCUX_FLEXSPI_HYPERFLASH
default y if BOARD_MIMXRT1060_EVK_HYPERFLASH
default n if BOARD_MIMXRT1060_EVK
config FLASH_MCUX_FLEXSPI_XIP
default y if FLASH && BOARD_MIMXRT1060_EVK
default y if FLASH
depends on MEMC_MCUX_FLEXSPI
config I2C
default y if KSCAN

View file

@ -20,6 +20,7 @@ config FLASH_MCUX_FLEXSPI_NOR
config FLASH_MCUX_FLEXSPI_XIP
default y if FLASH
depends on MEMC_MCUX_FLEXSPI
config I2C
default y if KSCAN

View file

@ -19,6 +19,7 @@ config FLASH_MCUX_FLEXSPI_MX25UM51345G
config FLASH_MCUX_FLEXSPI_XIP
default y if FLASH
depends on MEMC_MCUX_FLEXSPI
choice FLASH_MCUX_FLEXSPI_XIP_MEM_TARGET
default FLASH_MCUX_FLEXSPI_XIP_MEM_SRAM