diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-03-11 11:19:15 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-03-11 11:19:15 +0000 |
commit | 09e303bb8e51f0ab123c70f954039fbef8ca9a91 (patch) | |
tree | f1915478a3956446cac43bdfd2f2e6c2c8e5434c /src | |
parent | ac5fb035211c9e63b2fb2c520317dd24516dc86f (diff) | |
download | openocd_libswd-09e303bb8e51f0ab123c70f954039fbef8ca9a91.tar.gz openocd_libswd-09e303bb8e51f0ab123c70f954039fbef8ca9a91.tar.bz2 openocd_libswd-09e303bb8e51f0ab123c70f954039fbef8ca9a91.tar.xz openocd_libswd-09e303bb8e51f0ab123c70f954039fbef8ca9a91.zip |
retire unused code.
git-svn-id: svn://svn.berlios.de/openocd/trunk@494 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src')
-rw-r--r-- | src/target/xscale.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/target/xscale.c b/src/target/xscale.c index 7e362ff5..921af812 100644 --- a/src/target/xscale.c +++ b/src/target/xscale.c @@ -234,25 +234,6 @@ int xscale_jtag_set_instr(int chain_pos, u32 new_instr) return ERROR_OK; } -int xscale_jtag_callback(enum jtag_event event, void *priv) -{ - switch (event) - { - case JTAG_TRST_ASSERTED: - break; - case JTAG_TRST_RELEASED: - break; - case JTAG_SRST_ASSERTED: - break; - case JTAG_SRST_RELEASED: - break; - default: - WARNING("unhandled JTAG event"); - } - - return ERROR_OK; -} - int xscale_read_dcsr(target_t *target) { armv4_5_common_t *armv4_5 = target->arch_info; @@ -3078,7 +3059,6 @@ int xscale_init_arch_info(target_t *target, xscale_common_t *xscale, int chain_p /* prepare JTAG information for the new target */ xscale->jtag_info.chain_pos = chain_pos; - jtag_register_event_callback(xscale_jtag_callback, target); xscale->jtag_info.dbgrx = 0x02; xscale->jtag_info.dbgtx = 0x10; |