From: Andreas F. <and...@gm...> - 2016-05-16 20:50:15
|
On Fri, May 13, 2016 at 2:30 AM, Tim Newsome <ti...@si...> wrote: > Hi, > > I’m going to implement RISC-V support for OpenOCD. (See http://riscv.org > if you’re curious.) > > I have a question about the num_bits field in scan_field. The code says: > > /** The number of bits this field specifies (up to 32) */ > int num_bits; > > But eg. mips_ejtag.c mips_ejtag_add_scan_96() sets this value to 96. > Are lengths greater than 32 bits supported? > > Yes, they should be. If any adapter driver does not work with arbitrary lengths of individual fields, it's a bug. Feel free to push a change that fixes the comment. /Andreas |