summaryrefslogtreecommitdiff
path: root/sys/src/9/imx8
diff options
context:
space:
mode:
authorSigrid Solveig Haflínudóttir <sigrid@ftrv.se>2022-08-25 21:22:51 +0000
committerSigrid Solveig Haflínudóttir <sigrid@ftrv.se>2022-08-25 21:22:51 +0000
commite2124b109ecb0f5634f036e392d827b6ddebec54 (patch)
tree888f4f4e4dd551bc67f71bd7e6ddee0e9d208ede /sys/src/9/imx8
parentca8d12b8e3c97ad8cf7b1ce32acd515a7a825f59 (diff)
imx8: invalidate l2 cache as well (fixes not fully cleared BSS on cold boot)
Diffstat (limited to 'sys/src/9/imx8')
-rw-r--r--sys/src/9/imx8/l.s1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/src/9/imx8/l.s b/sys/src/9/imx8/l.s
index f08218c66..4953e68a6 100644
--- a/sys/src/9/imx8/l.s
+++ b/sys/src/9/imx8/l.s
@@ -18,6 +18,7 @@ TEXT _start(SB), 1, $-4
/* invalidate local caches */
BL cachedwbinv(SB)
+ BL l2cacheuwbinv(SB)
BL cacheiinv(SB)
MOV $(MACHADDR(0)-KZERO), R27