Skip to content
Commit b686f206 authored by Daniel DeGrasse's avatar Daniel DeGrasse Committed by Carles Cufí
Browse files

soc: arm: nxp: ensure code cache is enabled at boot for RT11xx



Ensure code cache is enabled at boot for RT11xx. CMSIS SystemInit should
enable the code cache, but if CONFIG_INIT_ARCH_HW_AT_BOOT=y and
CONFIG_CACHE_MANAGEMENT=y, then the cache will be disabled after
SystemInit is called. Since calling SCB_EnableICache will not
change hardware settings if the ICACHE is already enabled, just
call it unconditionally during init.

Signed-off-by: default avatarDaniel DeGrasse <daniel.degrasse@nxp.com>
parent 6c732185
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment