]> git.sur5r.net Git - openocd/commitdiff
XScale: use all-ones for BYPASS, not five-ones
authorDavid Brownell <dbrownell@users.sourceforge.net>
Tue, 15 Dec 2009 04:06:21 +0000 (20:06 -0800)
committerDavid Brownell <dbrownell@users.sourceforge.net>
Tue, 15 Dec 2009 22:45:26 +0000 (14:45 -0800)
PXA3xx has more than five bits in IR.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
src/target/xscale.c

index 9ed9eea2ab9a04bb1caabc1fa5de707f22f9a824..4cf5aeb02cb366b2842e335cf3a303b9c7bc5f6c 100644 (file)
@@ -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 */