Skip to content

Commit ab19b63

Browse files
Jiafei PanChromeos LUCI
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. (cherry picked from commit dc68d1b) Original-Signed-off-by: Jiafei Pan <[email protected]> GitOrigin-RevId: dc68d1b Cr-Build-Id: 8711840798614211969 Cr-Build-Url: https://cr-buildbucket.appspot.com/build/8711840798614211969 Copybot-Job-Name: zephyr-main-copybot-downstream Change-Id: I9e90f00ff334c96a88f07d49e9301498357d2bf8 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/6650436 Tested-by: ChromeOS Copybot <[email protected]> Commit-Queue: Yuval Peress <[email protected]> Tested-by: Yuval Peress <[email protected]> Reviewed-by: Yuval Peress <[email protected]>
1 parent e23368b commit ab19b63

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)