diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-05-08 20:48:28 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-05-08 20:48:28 +0000 |
commit | 96509c764ae3ad31c48d11f832d312cf53f97f1b (patch) | |
tree | 17885ff3e8f1649a369e51a7ba0f4fd3eb8b15a9 /src | |
parent | d7f71e7fe9645fa8c3f88cf6fc9ad438aa6708f3 (diff) | |
download | riscv-openocd-96509c764ae3ad31c48d11f832d312cf53f97f1b.zip riscv-openocd-96509c764ae3ad31c48d11f832d312cf53f97f1b.tar.gz riscv-openocd-96509c764ae3ad31c48d11f832d312cf53f97f1b.tar.bz2 |
plugged bug w/irlen > 32 introduce in 1672
git-svn-id: svn://svn.berlios.de/openocd/trunk@1683 b42882b7-edfa-0310-969c-e2dbd0fdcd60
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 4bc0426..6f7845b 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]) { |