summaryrefslogtreecommitdiff
path: root/src/jtag/drivers/rlink.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/rlink.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/rlink.c')
-rw-r--r--src/jtag/drivers/rlink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jtag/drivers/rlink.c b/src/jtag/drivers/rlink.c
index 43f19402..0060baff 100644
--- a/src/jtag/drivers/rlink.c
+++ b/src/jtag/drivers/rlink.c
@@ -1398,7 +1398,7 @@ int rlink_execute_queue(void)
switch (cmd->type)
{
case JTAG_RUNTEST:
- case JTAG_STATEMOVE:
+ case JTAG_TLR_RESET:
case JTAG_PATHMOVE:
case JTAG_SCAN:
break;
@@ -1430,7 +1430,7 @@ int rlink_execute_queue(void)
rlink_end_state(cmd->cmd.runtest->end_state);
rlink_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