diff options
Diffstat (limited to 'arch/arm/cpu')
-rw-r--r-- | arch/arm/cpu/armv7m/cpu.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7m/cpu.c b/arch/arm/cpu/armv7m/cpu.c index a424babde5..29597750f8 100644 --- a/arch/arm/cpu/armv7m/cpu.c +++ b/arch/arm/cpu/armv7m/cpu.c @@ -37,6 +37,9 @@ int cleanup_before_linux(void) * dcache flushing and disabling dcache */ invalidate_dcache_all(); + icache_disable(); + invalidate_icache_all(); + return 0; } |