Skip to content

Commit

Permalink
soc: arm: nxp_imx: enable CONFIG_CACHE_MANAGEMENT for RT1xxx M7 cores
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
danieldegrasse committed Jan 10, 2024
1 parent e5b3231 commit 92d4e69
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions soc/arm/nxp_imx/rt/Kconfig.defconfig.series
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,11 @@ config TEST_EXTRA_STACK_SIZE
default 1024
endif # MBEDTLS

# Enable cache management features when using M7 core, since these parts
# have L1 instruction and data caches that should be enabled at boot
config CACHE_MANAGEMENT
default y if CPU_CORTEX_M7

source "soc/arm/nxp_imx/rt/Kconfig.defconfig.mimxrt*"

endif # SOC_SERIES_IMX_RT

0 comments on commit 92d4e69

Please sign in to comment.