diff options
author | Tim Newsome <tim@sifive.com> | 2016-05-18 19:39:52 -0700 |
---|---|---|
committer | Andreas Fritiofson <andreas.fritiofson@gmail.com> | 2016-05-22 00:53:32 +0100 |
commit | e54983c10f5e0fe0f58281115497565d3581fca9 (patch) | |
tree | 68b3c55645610783770864f9db481fffc08a5cc7 | |
parent | ccfcca4a0c173dd3bf3f5187b021fe236e8d28a2 (diff) | |
download | riscv-openocd-e54983c10f5e0fe0f58281115497565d3581fca9.zip riscv-openocd-e54983c10f5e0fe0f58281115497565d3581fca9.tar.gz riscv-openocd-e54983c10f5e0fe0f58281115497565d3581fca9.tar.bz2 |
Fix comment that limits num_bits to 32.
Andreas Fritiofson says "If any adapter driver does not work with
arbitrary lengths of individual fields, it's a bug."
https://sourceforge.net/p/openocd/mailman/message/35091945/
Note also that lengths of at least 96 bits are already in use, eg. in
mips_ejtag_add_scan_96().
Change-Id: I62a150adc75c0ef78827683ca8d0a8e90310a982
Signed-off-by: Tim Newsome <tim@sifive.com>
Reviewed-on: http://openocd.zylin.com/3491
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
-rw-r--r-- | src/jtag/jtag.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jtag/jtag.h b/src/jtag/jtag.h index eda4ccd..38247b2 100644 --- a/src/jtag/jtag.h +++ b/src/jtag/jtag.h @@ -107,7 +107,7 @@ extern tap_state_t cmd_queue_cur_state; * jtag_add_dr_scan_check() to validate the value that was scanned out. */ struct scan_field { - /** The number of bits this field specifies (up to 32) */ + /** The number of bits this field specifies */ int num_bits; /** A pointer to value to be scanned into the device */ const uint8_t *out_value; |