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>
This commit is contained in:
Matthias Welwarsky
2015-10-15 18:36:14 +02:00
committed by Paul Fertser
parent 4ba83e1c9b
commit 3a292a1f34
4 changed files with 11 additions and 66 deletions

View File

@@ -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 *)