diff options
author | Oleksij Rempel <linux@rempel-privat.de> | 2015-04-23 07:49:13 +0200 |
---|---|---|
committer | Paul Fertser <fercerpav@gmail.com> | 2015-11-30 05:39:40 +0000 |
commit | cd440bd32a120a9b4c2d703d3d16dd52f16edab2 (patch) | |
tree | 8c1ea72b9c50e10d3bab7e5f3d84415912ad3302 /src/target/cortex_a.c | |
parent | 74592a8435d0044bbf34a65765bca44166e61921 (diff) |
add armv7a_cache handlers
This patch introduces, new command set and handlers for l1 and l2x caches.
Patch set 10 folded the following changes into this one:
Ib1a2a1fc1b929dc49532ac13a78e8eb796ab4415
If8d87a03281d0f4ad402909998e7834eb4837e79
I0749f129fa74e04f4e9c20d143a744f09ef750d8
Change-Id: I849f4d1f20610087885eeddefa81d976f77cf199
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Signed-off-by: Matthias Welwarsky <matthias@welwarsky.de>
Reviewed-on: http://openocd.zylin.com/2800
Tested-by: jenkins
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
Diffstat (limited to 'src/target/cortex_a.c')
-rw-r--r-- | src/target/cortex_a.c | 2 |
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; } |