cmd: add missing usage var
[fw/openocd] / src / jtag / commands.h
index 692eee430fbf8c101a99f35ecc8f425ec9aba847..d591814f54f8d9320c936c83208ca1e3e922c7a4 100644 (file)
@@ -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,
@@ -158,7 +165,6 @@ struct jtag_command {
 extern struct jtag_command* jtag_command_queue;
 
 void* cmd_queue_alloc(size_t size);
-void cmd_queue_free(void);
 
 void jtag_queue_command(struct jtag_command *cmd);
 void jtag_command_queue_reset(void);