summaryrefslogtreecommitdiff
path: root/cpu/arm_cortexa8/cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/arm_cortexa8/cpu.c')
-rw-r--r--cpu/arm_cortexa8/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/arm_cortexa8/cpu.c b/cpu/arm_cortexa8/cpu.c
index 5a5981e40..a01e0d605 100644
--- a/cpu/arm_cortexa8/cpu.c
+++ b/cpu/arm_cortexa8/cpu.c
@@ -64,7 +64,7 @@ int cleanup_before_linux(void)
/* turn off L2 cache */
l2_cache_disable();
/* invalidate L2 cache also */
- v7_flush_dcache_all(get_device_type());
+ invalidate_dcache(get_device_type());
#endif
i = 0;
/* mem barrier to sync up things */