stlink: add dummy speed handlers
[fw/openocd] / src / jtag / jtag.h
index a3ce3711694d3442b5a2356faef022ac42d6e2ed..aeb7b332db2dd03a8b8c02430ae039bf07259b81 100644 (file)
@@ -105,8 +105,6 @@ extern tap_state_t cmd_queue_cur_state;
  *
  * In addition, this structure includes a value and mask that is used by
  * jtag_add_dr_scan_check() to validate the value that was scanned out.
- *
- * The allocated, modified, and intmp fields are internal work space.
  */
 struct scan_field {
        /// The number of bits this field specifies (up to 32)
@@ -120,13 +118,6 @@ struct scan_field {
        uint8_t* check_value;
        /// The mask to go with check_value
        uint8_t* check_mask;
-
-       /// in_value has been allocated for the queue
-       int allocated;
-       /// Indicates we modified the in_value.
-       int modified;
-       /// temporary storage for performing value checks synchronously
-       uint8_t intmp[4];
 };
 
 struct jtag_tap {
@@ -165,7 +156,9 @@ struct jtag_tap {
 
        struct jtag_tap* next_tap;
        /* dap instance if some null if no instance , initialized to 0 by calloc*/
-       struct adiv5_dap *dap; 
+       struct adiv5_dap *dap;
+       /* private pointer to support none-jtag specific functions */
+       void *priv;
 };
 
 void jtag_tap_init(struct jtag_tap *tap);
@@ -371,17 +364,6 @@ void jtag_add_plain_ir_scan(int num_bits, const uint8_t *out_bits, uint8_t *in_b
                tap_state_t endstate);
 
 
-/**
- * Set in_value to point to 32 bits of memory to scan into. This
- * function is a way to handle the case of synchronous and asynchronous
- * JTAG queues.
- *
- * In the event of an asynchronous queue execution the queue buffer
- * allocation method is used, for the synchronous case the temporary 32
- * bits come from the input field itself.
- */
-void jtag_alloc_in_value32(struct scan_field *field);
-
 /**
  * Generate a DR SCAN using the fields passed to the function.
  * For connected TAPs, the function checks in_fields and uses fields