summaryrefslogtreecommitdiff
path: root/src/target/cortex_a8.c
diff options
context:
space:
mode:
authorØyvind Harboe <oyvind.harboe@zylin.com>2009-10-30 18:29:09 +0100
committerØyvind Harboe <oyvind.harboe@zylin.com>2009-11-05 09:05:10 +0100
commitacff2521fb8e47dce4a2e89e2de77e71bf314047 (patch)
treeacf55208ca5995cf7483e2a4afb812d75e544187 /src/target/cortex_a8.c
parenta5e396b9641c425225e3820a160ee66887416d71 (diff)
downloadopenocd+libswd-acff2521fb8e47dce4a2e89e2de77e71bf314047.tar.gz
openocd+libswd-acff2521fb8e47dce4a2e89e2de77e71bf314047.tar.bz2
openocd+libswd-acff2521fb8e47dce4a2e89e2de77e71bf314047.tar.xz
openocd+libswd-acff2521fb8e47dce4a2e89e2de77e71bf314047.zip
debug interface: get rid of unused pre_debug fn
Removing unused code makes it much less mysterius. 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 025a468a..e7169990 100644
--- a/src/target/cortex_a8.c
+++ b/src/target/cortex_a8.c
@@ -637,9 +637,6 @@ int cortex_a8_debug_entry(target_t *target)
cortex_a8_common_t *cortex_a8 = armv7a->arch_info;
swjdp_common_t *swjdp = &armv7a->swjdp_info;
- if (armv7a->pre_debug_entry)
- armv7a->pre_debug_entry(target);
-
LOG_DEBUG("dscr = 0x%08" PRIx32, cortex_a8->cpudbg_dscr);
/* Enable the ITR execution once we are in debug mode */
@@ -1586,7 +1583,6 @@ LOG_DEBUG(" ");
/* register arch-specific functions */
armv7a->examine_debug_reason = NULL;
- armv7a->pre_debug_entry = NULL;
armv7a->post_debug_entry = cortex_a8_post_debug_entry;
armv7a->pre_restore_context = NULL;