From: David Brownell Date: Tue, 15 Dec 2009 04:06:21 +0000 (-0800) Subject: XScale: use all-ones for BYPASS, not five-ones X-Git-Tag: v0.4.0-rc1~36 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fc99287b097e719a6dbe8d139e71c5ed136e48e8;p=openocd XScale: use all-ones for BYPASS, not five-ones PXA3xx has more than five bits in IR. Signed-off-by: David Brownell --- diff --git a/src/target/xscale.c b/src/target/xscale.c index 9ed9eea2..4cf5aeb0 100644 --- a/src/target/xscale.c +++ b/src/target/xscale.c @@ -1496,7 +1496,7 @@ static int xscale_assert_reset(struct target *target) xscale_write_dcsr(target, 1, 0); /* select BYPASS, because having DCSR selected caused problems on the PXA27x */ - xscale_jtag_set_instr(target->tap, 0x7f); + xscale_jtag_set_instr(target->tap, ~0); jtag_execute_queue(); /* assert reset */