summaryrefslogtreecommitdiff
path: root/src/jtag/drivers/usbprog.c
diff options
context:
space:
mode:
authorØyvind Harboe <oyvind.harboe@zylin.com>2010-06-05 11:30:49 +0200
committerØyvind Harboe <oyvind.harboe@zylin.com>2010-06-07 15:08:30 +0200
commit00635e28ba5c405742cae261d8551f165dc78ba3 (patch)
tree034c2c2557bae6f1d6944bfdc1e09c2caab6b46a /src/jtag/drivers/usbprog.c
parenta1cf1b52444c67b6c56ad58fe29be5a285b244cb (diff)
downloadopenocd+libswd-00635e28ba5c405742cae261d8551f165dc78ba3.tar.gz
openocd+libswd-00635e28ba5c405742cae261d8551f165dc78ba3.tar.bz2
openocd+libswd-00635e28ba5c405742cae261d8551f165dc78ba3.tar.xz
openocd+libswd-00635e28ba5c405742cae261d8551f165dc78ba3.zip
jtag: rename JTAG_MOVESTATE to JTAG_TLR_RESET
JTAG_MOVESTATE is misleading, this cmd is only used for reset. JTAG_PATHMOVE should be used otherwise. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src/jtag/drivers/usbprog.c')
-rw-r--r--src/jtag/drivers/usbprog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jtag/drivers/usbprog.c b/src/jtag/drivers/usbprog.c
index 0d51b27f..cc785556 100644
--- a/src/jtag/drivers/usbprog.c
+++ b/src/jtag/drivers/usbprog.c
@@ -131,7 +131,7 @@ static int usbprog_execute_queue(void)
usbprog_end_state(cmd->cmd.runtest->end_state);
usbprog_runtest(cmd->cmd.runtest->num_cycles);
break;
- case JTAG_STATEMOVE:
+ case JTAG_TLR_RESET:
#ifdef _DEBUG_JTAG_IO_
LOG_DEBUG("statemove end in %i", cmd->cmd.statemove->end_state);
#endif