summaryrefslogtreecommitdiff
path: root/src/jtag/drivers/ft2232.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/ft2232.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/ft2232.c')
-rw-r--r--src/jtag/drivers/ft2232.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jtag/drivers/ft2232.c b/src/jtag/drivers/ft2232.c
index 93d1c4a8..2ac410a5 100644
--- a/src/jtag/drivers/ft2232.c
+++ b/src/jtag/drivers/ft2232.c
@@ -1978,7 +1978,7 @@ static int ft2232_execute_command(struct jtag_command *cmd)
{
case JTAG_RESET: retval = ft2232_execute_reset(cmd); break;
case JTAG_RUNTEST: retval = ft2232_execute_runtest(cmd); break;
- case JTAG_STATEMOVE: retval = ft2232_execute_statemove(cmd); break;
+ case JTAG_TLR_RESET: retval = ft2232_execute_statemove(cmd); break;
case JTAG_PATHMOVE: retval = ft2232_execute_pathmove(cmd); break;
case JTAG_SCAN: retval = ft2232_execute_scan(cmd); break;
case JTAG_SLEEP: retval = ft2232_execute_sleep(cmd); break;