summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2009-12-14 20:06:21 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2009-12-15 14:45:26 -0800
commitfc99287b097e719a6dbe8d139e71c5ed136e48e8 (patch)
treeb42bc1c9256a16324c9161f813e7a5037f5b0317
parent646ce814b4fb678b7d8d341afe0694c266112426 (diff)
downloadopenocd+libswd-fc99287b097e719a6dbe8d139e71c5ed136e48e8.tar.gz
openocd+libswd-fc99287b097e719a6dbe8d139e71c5ed136e48e8.tar.bz2
openocd+libswd-fc99287b097e719a6dbe8d139e71c5ed136e48e8.tar.xz
openocd+libswd-fc99287b097e719a6dbe8d139e71c5ed136e48e8.zip
XScale: use all-ones for BYPASS, not five-ones
PXA3xx has more than five bits in IR. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
-rw-r--r--src/target/xscale.c2
1 files changed, 1 insertions, 1 deletions
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 */