Skip to content

Commit dc68d1b

Browse files
JiafeiPankartben
authored andcommitted
soc: imx943: a55: disable D-Cache when booting from el2
Enabled CONFIG_ARM64_BOOT_DISABLE_DCACHE to disable D-Cache when booting from EL2. Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
1 parent e05abfd commit dc68d1b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

soc/nxp/imx/imx9/imx943/Kconfig.defconfig.mimx94398.a55

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,13 @@ config FLASH_BASE_ADDRESS
1616
config GIC_SAFE_CONFIG
1717
default y
1818

19+
# Disable data cache until MMU is enabled when booting from EL2
20+
config ARM64_DCACHE_ALL_OPS
21+
default y
22+
23+
config ARM64_BOOT_DISABLE_DCACHE
24+
default y
25+
1926
config MCUX_CORE_SUFFIX
2027
default "_ca55" if SOC_MIMX94398_A55
2128

0 commit comments

Comments
 (0)