diff options
author | Matthias Welwarsky <matthias@welwarsky.de> | 2015-10-15 18:36:14 +0200 |
---|---|---|
committer | Paul Fertser <fercerpav@gmail.com> | 2015-11-30 05:40:34 +0000 |
commit | 3a292a1f34586b265b92e4662652683645e14201 (patch) | |
tree | e70e2986f352812112bde7849ce817a2d8a24c48 /src/target/armv7a_cache_l2x.c | |
parent | 4ba83e1c9b3ed9bc09ff13a680db9a4f9478fa92 (diff) | |
download | riscv-openocd-3a292a1f34586b265b92e4662652683645e14201.zip riscv-openocd-3a292a1f34586b265b92e4662652683645e14201.tar.gz riscv-openocd-3a292a1f34586b265b92e4662652683645e14201.tar.bz2 |
armv7a: remove special l2x flush-all and cache-info handlers
This patch is on the path to unified handlers for both inner and
outer caches. It removes the special overrides installed when
an outer cache is configured.
Change-Id: I747f2762c6c8c76c700341cbf6cf500ff2a51476
Signed-off-by: Matthias Welwarsky <matthias@welwarsky.de>
Reviewed-on: http://openocd.zylin.com/3022
Tested-by: jenkins
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
Diffstat (limited to 'src/target/armv7a_cache_l2x.c')
-rw-r--r-- | src/target/armv7a_cache_l2x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/armv7a_cache_l2x.c b/src/target/armv7a_cache_l2x.c index 8b5fc43..5af589e 100644 --- a/src/target/armv7a_cache_l2x.c +++ b/src/target/armv7a_cache_l2x.c @@ -46,7 +46,7 @@ static int arm7a_l2x_sanity_check(struct target *target) /* * clean and invalidate complete l2x cache */ -static int arm7a_l2x_flush_all_data(struct target *target) +int arm7a_l2x_flush_all_data(struct target *target) { struct armv7a_common *armv7a = target_to_armv7a(target); struct armv7a_l2x_cache *l2x_cache = (struct armv7a_l2x_cache *) |