From fc99287b097e719a6dbe8d139e71c5ed136e48e8 Mon Sep 17 00:00:00 2001 From: David Brownell Date: Mon, 14 Dec 2009 20:06:21 -0800 Subject: [PATCH] XScale: use all-ones for BYPASS, not five-ones PXA3xx has more than five bits in IR. Signed-off-by: David Brownell --- src/target/xscale.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/target/xscale.c b/src/target/xscale.c index 9ed9eea2a..4cf5aeb02 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 */