summaryrefslogtreecommitdiff
path: root/src/target/cortex_a8.c
diff options
context:
space:
mode:
authorØyvind Harboe <oyvind.harboe@zylin.com>2010-03-16 10:58:21 +0100
committerØyvind Harboe <oyvind.harboe@zylin.com>2010-03-17 07:40:00 +0100
commit1d9fba8c1488c3774c8bde737c2d658b1f525d09 (patch)
tree6c09a4e8c379e386b24dcde638e63bb7357fa597 /src/target/cortex_a8.c
parent6f8b8593d63bc9781435270a54b6f7d245eecd8e (diff)
downloadopenocd+libswd-1d9fba8c1488c3774c8bde737c2d658b1f525d09.tar.gz
openocd+libswd-1d9fba8c1488c3774c8bde737c2d658b1f525d09.tar.bz2
openocd+libswd-1d9fba8c1488c3774c8bde737c2d658b1f525d09.tar.xz
openocd+libswd-1d9fba8c1488c3774c8bde737c2d658b1f525d09.zip
arm7/9: remove unused post_restore_context
Unused. If something should happen after context restore, then the calling code can just do it afterwards. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src/target/cortex_a8.c')
-rw-r--r--src/target/cortex_a8.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/target/cortex_a8.c b/src/target/cortex_a8.c
index 332a55a5..a5480272 100644
--- a/src/target/cortex_a8.c
+++ b/src/target/cortex_a8.c
@@ -1020,9 +1020,6 @@ static int cortex_a8_restore_context(struct target *target, bool bpwp)
arm_dpm_write_dirty_registers(&armv7a->dpm, bpwp);
- if (armv7a->post_restore_context)
- armv7a->post_restore_context(target);
-
return ERROR_OK;
}
@@ -1589,7 +1586,6 @@ static int cortex_a8_init_arch_info(struct target *target,
armv7a->post_debug_entry = cortex_a8_post_debug_entry;
armv7a->pre_restore_context = NULL;
- armv7a->post_restore_context = NULL;
armv7a->armv4_5_mmu.armv4_5_cache.ctype = -1;
// armv7a->armv4_5_mmu.get_ttb = armv7a_get_ttb;
armv7a->armv4_5_mmu.read_memory = cortex_a8_read_memory;