Skip to content
Snippets Groups Projects
Commit d409c962 authored by Patrice Chotard's avatar Patrice Chotard Committed by Tom Rini
Browse files

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: default avatarPatrice Chotard <patrice.chotard@st.com>
parent e1e1e852
No related branches found
No related tags found
No related merge requests found
......@@ -37,6 +37,9 @@ int cleanup_before_linux(void)
* dcache flushing and disabling dcache */
invalidate_dcache_all();
icache_disable();
invalidate_icache_all();
return 0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment