提交 d409c962 编写于 作者: P Patrice Chotard 提交者: Tom Rini

armv7m: disable icache before linux booting

Similarly to ARMV7, on ARMV7M instruction cache memory needs
to be disabled before running linux kernel to avoid kernel to
be stuck.
Signed-off-by: NPatrice Chotard <patrice.chotard@st.com>
上级 e1e1e852
......@@ -37,6 +37,9 @@ int cleanup_before_linux(void)
* dcache flushing and disabling dcache */
invalidate_dcache_all();
icache_disable();
invalidate_icache_all();
return 0;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册