aboutsummaryrefslogtreecommitdiff
path: root/src/jtag/jtag.h
diff options
context:
space:
mode:
authorØyvind Harboe <oyvind.harboe@zylin.com>2011-12-13 23:44:34 +0100
committerSpencer Oliver <spen@spen-soft.co.uk>2011-12-20 16:57:34 +0000
commita30a4f0fc76b72936a6557e08d6b55b3a46eaafd (patch)
treee552caa91437102da07fc33d1e748f0fce25d62b /src/jtag/jtag.h
parentcb90d32e386a7489d31136997209c61e9559ff5e (diff)
jtag: make caller always allocate buffer
simplifies the API and there is only one remaining user at this point. Is the implementation busted where the check does not actually happen now? Change-Id: I776a43766f5576a08df320f6fe41a2750d101bde Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com> Reviewed-on: http://openocd.zylin.com/264 Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Diffstat (limited to 'src/jtag/jtag.h')
-rw-r--r--src/jtag/jtag.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/jtag/jtag.h b/src/jtag/jtag.h
index 14761503..f4b89a7f 100644
--- a/src/jtag/jtag.h
+++ b/src/jtag/jtag.h
@@ -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 {