From 00635e28ba5c405742cae261d8551f165dc78ba3 Mon Sep 17 00:00:00 2001 From: Øyvind Harboe Date: Sat, 5 Jun 2010 11:30:49 +0200 Subject: jtag: rename JTAG_MOVESTATE to JTAG_TLR_RESET MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit JTAG_MOVESTATE is misleading, this cmd is only used for reset. JTAG_PATHMOVE should be used otherwise. Signed-off-by: Øyvind Harboe --- src/jtag/commands.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/jtag/commands.h') 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, -- cgit v1.2.3