boards: nxp: update selection of FLASH_MCUX_FLEXSPI_XIP_MEM_TARGET
Update selection of FLASH_MCUX_FLEXSPI_XIP_MEM_TARGET to now depend on FLASH_MCUX_FLEXSPI_XIP, as this is the symbol that drives the need to relocate critical FlexSPI files to RAM. Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
This commit is contained in:
committed by
Carles Cufi
parent
bc8424dd3b
commit
da3e49d34e
@@ -31,14 +31,14 @@ config SYS_CLOCK_HW_CYCLES_PER_SEC
|
||||
default 240000000 if BOARD_MIMXRT1160_EVK_MIMXRT1166_CM4 && CORTEX_M_SYSTICK
|
||||
default 600000000 if BOARD_MIMXRT1160_EVK_MIMXRT1166_CM7 && CORTEX_M_SYSTICK
|
||||
|
||||
if FLASH
|
||||
if FLASH_MCUX_FLEXSPI_XIP && MEMC_MCUX_FLEXSPI
|
||||
|
||||
choice FLASH_MCUX_FLEXSPI_XIP_MEM_TARGET
|
||||
default FLASH_MCUX_FLEXSPI_XIP_MEM_ITCM if CPU_CORTEX_M7
|
||||
default FLASH_MCUX_FLEXSPI_XIP_MEM_SRAM if CPU_CORTEX_M4
|
||||
endchoice
|
||||
|
||||
endif #FLASH
|
||||
endif # FLASH_MCUX_FLEXSPI_XIP && MEMC_MCUX_FLEXSPI
|
||||
|
||||
if NETWORKING
|
||||
|
||||
|
||||
@@ -34,14 +34,14 @@ config IMX_USDHC_DAT3_PWR_TOGGLE
|
||||
|
||||
endif # DISK_DRIVERS
|
||||
|
||||
if FLASH
|
||||
if FLASH_MCUX_FLEXSPI_XIP && MEMC_MCUX_FLEXSPI
|
||||
|
||||
choice FLASH_MCUX_FLEXSPI_XIP_MEM_TARGET
|
||||
default FLASH_MCUX_FLEXSPI_XIP_MEM_ITCM if CPU_CORTEX_M7
|
||||
default FLASH_MCUX_FLEXSPI_XIP_MEM_SRAM if CPU_CORTEX_M4
|
||||
endchoice
|
||||
|
||||
endif #FLASH
|
||||
endif # FLASH_MCUX_FLEXSPI_XIP && MEMC_MCUX_FLEXSPI
|
||||
|
||||
if NETWORKING
|
||||
|
||||
|
||||
@@ -12,14 +12,14 @@ config IMX_USDHC_DAT3_PWR_TOGGLE
|
||||
|
||||
endif # DISK_DRIVERS
|
||||
|
||||
if FLASH
|
||||
if FLASH_MCUX_FLEXSPI_XIP && MEMC_MCUX_FLEXSPI
|
||||
|
||||
choice FLASH_MCUX_FLEXSPI_XIP_MEM_TARGET
|
||||
default FLASH_MCUX_FLEXSPI_XIP_MEM_ITCM if CPU_CORTEX_M7
|
||||
default FLASH_MCUX_FLEXSPI_XIP_MEM_SRAM if CPU_CORTEX_M4
|
||||
endchoice
|
||||
|
||||
endif #FLASH
|
||||
endif # FLASH_MCUX_FLEXSPI_XIP && MEMC_MCUX_FLEXSPI
|
||||
|
||||
if NETWORKING
|
||||
|
||||
|
||||
Reference in New Issue
Block a user