diff options
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 |
commit | 00635e28ba5c405742cae261d8551f165dc78ba3 (patch) | |
tree | 034c2c2557bae6f1d6944bfdc1e09c2caab6b46a /src/jtag/commands.h | |
parent | a1cf1b52444c67b6c56ad58fe29be5a285b244cb (diff) | |
download | openocd+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/commands.h')
-rw-r--r-- | src/jtag/commands.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/jtag/commands.h b/src/jtag/commands.h index 87bd9c53..d591814f 100644 --- a/src/jtag/commands.h +++ b/src/jtag/commands.h @@ -139,7 +139,14 @@ union jtag_command_container { */ enum jtag_command_type { JTAG_SCAN = 1, - JTAG_STATEMOVE = 2, + /* JTAG_TLR_RESET's non-minidriver implementation is a + * vestige from a statemove cmd. The statemove command + * is obsolete and replaced by pathmove. + * + * pathmove does not support reset as one of it's states, + * hence the need for an explicit statemove command. + */ + JTAG_TLR_RESET = 2, JTAG_RUNTEST = 3, JTAG_RESET = 4, JTAG_PATHMOVE = 6, |