summaryrefslogtreecommitdiff
path: root/src/target/etm.c
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-04 13:18:07 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-04 13:18:07 +0000
commitd86100261252805215282b17d214c48021ef7f79 (patch)
tree02a060fa2844c6280bd4620bb6a1782539aaeb57 /src/target/etm.c
parentf133158175b568b9355e1bb3da159fd235723dec (diff)
downloadopenocd+libswd-d86100261252805215282b17d214c48021ef7f79.tar.gz
openocd+libswd-d86100261252805215282b17d214c48021ef7f79.tar.bz2
openocd+libswd-d86100261252805215282b17d214c48021ef7f79.tar.xz
openocd+libswd-d86100261252805215282b17d214c48021ef7f79.zip
Rename jtag_add_end_state to jtag_set_end_state since "add" implies that
this fn has something to do with the queue, which it does not as such. git-svn-id: svn://svn.berlios.de/openocd/trunk@2050 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/etm.c')
-rw-r--r--src/target/etm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/etm.c b/src/target/etm.c
index 22b50d76..d15342dc 100644
--- a/src/target/etm.c
+++ b/src/target/etm.c
@@ -320,7 +320,7 @@ int etm_read_reg_w_check(reg_t *reg, u8* check_value, u8* check_mask)
LOG_DEBUG("%i", etm_reg->addr);
- jtag_add_end_state(TAP_IDLE);
+ jtag_set_end_state(TAP_IDLE);
arm_jtag_scann(etm_reg->jtag_info, 0x6);
arm_jtag_set_instr(etm_reg->jtag_info, etm_reg->jtag_info->intest_instr, NULL);
@@ -405,7 +405,7 @@ int etm_write_reg(reg_t *reg, u32 value)
LOG_DEBUG("%i: 0x%8.8x", etm_reg->addr, value);
- jtag_add_end_state(TAP_IDLE);
+ jtag_set_end_state(TAP_IDLE);
arm_jtag_scann(etm_reg->jtag_info, 0x6);
arm_jtag_set_instr(etm_reg->jtag_info, etm_reg->jtag_info->intest_instr, NULL);