aboutsummaryrefslogtreecommitdiff
path: root/src/target/cortex_a.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/target/cortex_a.c')
-rw-r--r--src/target/cortex_a.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/target/cortex_a.c b/src/target/cortex_a.c
index e80987c9..5fd87318 100644
--- a/src/target/cortex_a.c
+++ b/src/target/cortex_a.c
@@ -2756,6 +2756,8 @@ static int cortex_a_write_memory(struct target *target, uint32_t address,
}
retval = cortex_a_write_apb_ab_memory(target, address, size, count, buffer);
+ armv7a_cache_auto_flush_on_write(target, address, size * count);
+
return retval;
}