diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/jtag/jtag.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/jtag/jtag.c b/src/jtag/jtag.c index 4bc04265..6f7845b5 100644 --- a/src/jtag/jtag.c +++ b/src/jtag/jtag.c @@ -574,7 +574,11 @@ void jtag_add_ir_scan(int num_fields, scan_field_t *fields, tap_state_t state) for (j = 0; j < num_fields; j++) { jtag_tap_t *tap=fields[j].tap; - jtag_check_value_mask(fields+j, tap->expected, tap->expected_mask); + if (fields[j].in_value!=NULL) + { + /* we verify max 32 bit long irlens. */ + jtag_check_value_mask(fields+j, tap->expected, tap->expected_mask); + } if (modified[j]) { |