From: oharboe Date: Fri, 8 May 2009 20:48:28 +0000 (+0000) Subject: plugged bug w/irlen > 32 introduce in 1672 X-Git-Tag: v0.2.0~823 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=96509c764ae3ad31c48d11f832d312cf53f97f1b;p=openocd plugged bug w/irlen > 32 introduce in 1672 git-svn-id: svn://svn.berlios.de/openocd/trunk@1683 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- 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]) {