Skip to content

Commit 55fe95a

Browse files
danieldegrassefabiobaltieri
authored andcommitted
soc: arm: nxp_imx: enable CONFIG_CACHE_MANAGEMENT for RT1xxx M7 cores
Since d992683 (soc: arm: replace redundant config option for caches for nxp_imx), RT1xxx series will not have cache enabled at boot unless CONFIG_CACHE_MANAGEMENT=y. Since this will improve performance, enable CONFIG_CACHE_MANAGEMENT by default. Signed-off-by: Daniel DeGrasse <[email protected]>
1 parent d8c3622 commit 55fe95a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

soc/arm/nxp_imx/rt/Kconfig.defconfig.series

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,11 @@ config TEST_EXTRA_STACK_SIZE
136136
default 1024
137137
endif # MBEDTLS
138138

139+
# Enable cache management features when using M7 core, since these parts
140+
# have L1 instruction and data caches that should be enabled at boot
141+
config CACHE_MANAGEMENT
142+
default y if CPU_CORTEX_M7
143+
139144
source "soc/arm/nxp_imx/rt/Kconfig.defconfig.mimxrt*"
140145

141146
endif # SOC_SERIES_IMX_RT

0 commit comments

Comments
 (0)