armv7m: disable icache before linux booting
authorPatrice Chotard <patrice.chotard@st.com>
Fri, 30 Mar 2018 07:22:40 +0000 (09:22 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 10 Apr 2018 15:52:16 +0000 (11:52 -0400)
commitd409c962169bd293e39386d0ddfa64d5222a3be4
treed1416bd98c4ed3e4e8b6e4c47a3e28ef0bb9d97e
parente1e1e85203688c1929350d153bd8ef23706fafe6
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: Patrice Chotard <patrice.chotard@st.com>
arch/arm/cpu/armv7m/cpu.c