diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2009-12-14 20:06:21 -0800 |
---|---|---|
committer | David Brownell <dbrownell@users.sourceforge.net> | 2009-12-15 14:45:26 -0800 |
commit | fc99287b097e719a6dbe8d139e71c5ed136e48e8 (patch) | |
tree | b42bc1c9256a16324c9161f813e7a5037f5b0317 /src/target | |
parent | 646ce814b4fb678b7d8d341afe0694c266112426 (diff) | |
download | openocd_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>
Diffstat (limited to 'src/target')
-rw-r--r-- | src/target/xscale.c | 2 |
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 */ |