jtag: use correct tap -ignore-version mask
commit5793056d96fd88845cde0d107c002a5fce413909
authorSpencer Oliver <spen@spen-soft.co.uk>
Tue, 21 Feb 2012 10:13:21 +0000 (21 10:13 +0000)
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>
Sun, 26 Feb 2012 01:14:39 +0000 (26 01:14 +0000)
tree1baf2d9979ea3305d123f3de5cffbd7731cf1503
parentd431af34fe0a9695397fb76536a4ac2dbdac126f
jtag: use correct tap -ignore-version mask

when -ignore-version is used we should mask of the upper 4bits not 8bits.

Change-Id: I9ffe24c2aeeb414677357a647609fdf018890194
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/473
Tested-by: jenkins
doc/openocd.texi
src/jtag/core.c