diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-04 12:12:38 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-04 12:12:38 +0000 |
commit | 040e6cef41d77f6692f2f5e9c5849e6d8fbeeefd (patch) | |
tree | 509edb0af8900ec032dd173a4593bccd4f552bbc /src/target/arm9tdmi.c | |
parent | f499341558dce8a41086f5439ca0458f4ea1fbfd (diff) | |
download | riscv-openocd-040e6cef41d77f6692f2f5e9c5849e6d8fbeeefd.zip riscv-openocd-040e6cef41d77f6692f2f5e9c5849e6d8fbeeefd.tar.gz riscv-openocd-040e6cef41d77f6692f2f5e9c5849e6d8fbeeefd.tar.bz2 |
no longer use jtag_add_xxx() to set end state to TAP_DRPAUSE
git-svn-id: svn://svn.berlios.de/openocd/trunk@2045 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/arm9tdmi.c')
-rw-r--r-- | src/target/arm9tdmi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/arm9tdmi.c b/src/target/arm9tdmi.c index dba679a..c4f7e08 100644 --- a/src/target/arm9tdmi.c +++ b/src/target/arm9tdmi.c @@ -134,7 +134,7 @@ int arm9tdmi_examine_debug_reason(target_t *target) } arm_jtag_set_instr(&arm7_9->jtag_info, arm7_9->jtag_info.intest_instr, NULL); - jtag_add_dr_scan(3, fields, TAP_DRPAUSE); + jtag_add_dr_scan(3, fields, jtag_add_end_state(TAP_DRPAUSE)); if ((retval = jtag_execute_queue()) != ERROR_OK) { return retval; @@ -147,7 +147,7 @@ int arm9tdmi_examine_debug_reason(target_t *target) fields[2].in_value = NULL; fields[2].out_value = instructionbus; - jtag_add_dr_scan(3, fields, TAP_DRPAUSE); + jtag_add_dr_scan(3, fields, jtag_add_end_state(TAP_DRPAUSE)); if (debug_reason & 0x4) if (debug_reason & 0x2) |