Skip to content

Commit 52ad670

Browse files
danieldegrassecarlescufi
authored andcommitted
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 <[email protected]>
1 parent af8ef35 commit 52ad670

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

boards/nxp/mimxrt1160_evk/Kconfig.defconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ config SYS_CLOCK_HW_CYCLES_PER_SEC
3131
default 240000000 if BOARD_MIMXRT1160_EVK_MIMXRT1166_CM4 && CORTEX_M_SYSTICK
3232
default 600000000 if BOARD_MIMXRT1160_EVK_MIMXRT1166_CM7 && CORTEX_M_SYSTICK
3333

34-
if FLASH
34+
if FLASH_MCUX_FLEXSPI_XIP && MEMC_MCUX_FLEXSPI
3535

3636
choice FLASH_MCUX_FLEXSPI_XIP_MEM_TARGET
3737
default FLASH_MCUX_FLEXSPI_XIP_MEM_ITCM if CPU_CORTEX_M7
3838
default FLASH_MCUX_FLEXSPI_XIP_MEM_SRAM if CPU_CORTEX_M4
3939
endchoice
4040

41-
endif #FLASH
41+
endif # FLASH_MCUX_FLEXSPI_XIP && MEMC_MCUX_FLEXSPI
4242

4343
if NETWORKING
4444

boards/nxp/mimxrt1170_evk/Kconfig.defconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@ config IMX_USDHC_DAT3_PWR_TOGGLE
3434

3535
endif # DISK_DRIVERS
3636

37-
if FLASH
37+
if FLASH_MCUX_FLEXSPI_XIP && MEMC_MCUX_FLEXSPI
3838

3939
choice FLASH_MCUX_FLEXSPI_XIP_MEM_TARGET
4040
default FLASH_MCUX_FLEXSPI_XIP_MEM_ITCM if CPU_CORTEX_M7
4141
default FLASH_MCUX_FLEXSPI_XIP_MEM_SRAM if CPU_CORTEX_M4
4242
endchoice
4343

44-
endif #FLASH
44+
endif # FLASH_MCUX_FLEXSPI_XIP && MEMC_MCUX_FLEXSPI
4545

4646
if NETWORKING
4747

boards/nxp/vmu_rt1170/Kconfig.defconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ config IMX_USDHC_DAT3_PWR_TOGGLE
1212

1313
endif # DISK_DRIVERS
1414

15-
if FLASH
15+
if FLASH_MCUX_FLEXSPI_XIP && MEMC_MCUX_FLEXSPI
1616

1717
choice FLASH_MCUX_FLEXSPI_XIP_MEM_TARGET
1818
default FLASH_MCUX_FLEXSPI_XIP_MEM_ITCM if CPU_CORTEX_M7
1919
default FLASH_MCUX_FLEXSPI_XIP_MEM_SRAM if CPU_CORTEX_M4
2020
endchoice
2121

22-
endif #FLASH
22+
endif # FLASH_MCUX_FLEXSPI_XIP && MEMC_MCUX_FLEXSPI
2323

2424
if NETWORKING
2525

0 commit comments

Comments
 (0)