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:
parent
81cdf7a455
commit
31d583c713
6 changed files with 24 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue