aboutsummaryrefslogtreecommitdiff
path: root/src/jtag/drivers/driver.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/driver.c
parenta1cf1b52444c67b6c56ad58fe29be5a285b244cb (diff)
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/driver.c')
-rw-r--r--src/jtag/drivers/driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jtag/drivers/driver.c b/src/jtag/drivers/driver.c
index 7f7f8791..49f40246 100644
--- a/src/jtag/drivers/driver.c
+++ b/src/jtag/drivers/driver.c
@@ -338,7 +338,7 @@ int interface_jtag_add_tlr(void)
jtag_queue_command(cmd);
- cmd->type = JTAG_STATEMOVE;
+ cmd->type = JTAG_TLR_RESET;
cmd->cmd.statemove = cmd_queue_alloc(sizeof(struct statemove_command));
cmd->cmd.statemove->end_state = state;