diff --git a/boards/arm/mimxrt1020_evk/Kconfig.defconfig b/boards/arm/mimxrt1020_evk/Kconfig.defconfig index 29c0a4cd9ea..ad8b718b8a8 100644 --- a/boards/arm/mimxrt1020_evk/Kconfig.defconfig +++ b/boards/arm/mimxrt1020_evk/Kconfig.defconfig @@ -10,6 +10,14 @@ if BOARD_MIMXRT1020_EVK config BOARD default "mimxrt1020_evk" if BOARD_MIMXRT1020_EVK +choice CODE_LOCATION + default CODE_FLEXSPI +endchoice + +choice DATA_LOCATION + default DATA_SEMC +endchoice + if GPIO_MCUX_IGPIO config GPIO_MCUX_IGPIO_1 diff --git a/boards/arm/mimxrt1050_evk/Kconfig.defconfig b/boards/arm/mimxrt1050_evk/Kconfig.defconfig index 531ff6f2963..5902c593507 100644 --- a/boards/arm/mimxrt1050_evk/Kconfig.defconfig +++ b/boards/arm/mimxrt1050_evk/Kconfig.defconfig @@ -10,6 +10,14 @@ if BOARD_MIMXRT1050_EVK || BOARD_MIMXRT1050_EVK_QSPI config BOARD default "mimxrt1050_evk" +choice CODE_LOCATION + default CODE_FLEXSPI +endchoice + +choice DATA_LOCATION + default DATA_SEMC +endchoice + if GPIO_MCUX_IGPIO config GPIO_MCUX_IGPIO_1 diff --git a/boards/arm/mimxrt1060_evk/Kconfig.defconfig b/boards/arm/mimxrt1060_evk/Kconfig.defconfig index e334f3c9331..8997ac69ead 100644 --- a/boards/arm/mimxrt1060_evk/Kconfig.defconfig +++ b/boards/arm/mimxrt1060_evk/Kconfig.defconfig @@ -11,6 +11,14 @@ config BOARD default "mimxrt1060_evk" if BOARD_MIMXRT1060_EVK default "mimxrt1060_evk_hyperflash" if BOARD_MIMXRT1060_EVK_HYPERFLASH +choice CODE_LOCATION + default CODE_FLEXSPI +endchoice + +choice DATA_LOCATION + default DATA_SEMC +endchoice + if GPIO_MCUX_IGPIO config GPIO_MCUX_IGPIO_1 diff --git a/soc/arm/nxp_imx/rt/Kconfig.defconfig.mimxrt1064 b/soc/arm/nxp_imx/rt/Kconfig.defconfig.mimxrt1064 index 56a7e397899..e1cb0a280de 100644 --- a/soc/arm/nxp_imx/rt/Kconfig.defconfig.mimxrt1064 +++ b/soc/arm/nxp_imx/rt/Kconfig.defconfig.mimxrt1064 @@ -23,12 +23,4 @@ config IPG_DIV config GPIO def_bool y -choice CODE_LOCATION - default CODE_ITCM -endchoice - -choice DATA_LOCATION - default DATA_DTCM -endchoice - endif # SOC_MIMXRT1064 diff --git a/soc/arm/nxp_imx/rt/Kconfig.soc b/soc/arm/nxp_imx/rt/Kconfig.soc index e95bdf145fb..9f1f8892702 100644 --- a/soc/arm/nxp_imx/rt/Kconfig.soc +++ b/soc/arm/nxp_imx/rt/Kconfig.soc @@ -248,7 +248,7 @@ endif # NXP_IMX_RT_BOOT_HEADER choice CODE_LOCATION prompt "Code location selection" - default CODE_FLEXSPI + default CODE_ITCM config CODE_ITCM bool "Link code into internal instruction tightly coupled memory (ITCM)" @@ -261,7 +261,7 @@ endchoice choice DATA_LOCATION prompt "Data location selection" - default DATA_SEMC + default DATA_DTCM config DATA_DTCM bool "Link data into internal data tightly coupled memory (DTCM)"