diff --git a/boards/nxp/mimxrt1160_evk/Kconfig.defconfig b/boards/nxp/mimxrt1160_evk/Kconfig.defconfig index 3aa0f2e95ce..340878191a0 100644 --- a/boards/nxp/mimxrt1160_evk/Kconfig.defconfig +++ b/boards/nxp/mimxrt1160_evk/Kconfig.defconfig @@ -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 diff --git a/boards/nxp/mimxrt1170_evk/Kconfig.defconfig b/boards/nxp/mimxrt1170_evk/Kconfig.defconfig index f4461aa97f9..395d8351794 100644 --- a/boards/nxp/mimxrt1170_evk/Kconfig.defconfig +++ b/boards/nxp/mimxrt1170_evk/Kconfig.defconfig @@ -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 diff --git a/boards/nxp/vmu_rt1170/Kconfig.defconfig b/boards/nxp/vmu_rt1170/Kconfig.defconfig index e8536998aa2..f0f7bffa888 100644 --- a/boards/nxp/vmu_rt1170/Kconfig.defconfig +++ b/boards/nxp/vmu_rt1170/Kconfig.defconfig @@ -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