diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-03-12 14:38:43 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-03-12 14:38:43 +0000 |
commit | 10c3b1c93665fe46180103faf15276a766a706f4 (patch) | |
tree | 05e51006e9e872eacc120a3236be14bf4dd09c26 /src/target | |
parent | 460894d51edb9d7cd1cadbede23c483713947687 (diff) | |
download | openocd+libswd-10c3b1c93665fe46180103faf15276a766a706f4.tar.gz openocd+libswd-10c3b1c93665fe46180103faf15276a766a706f4.tar.bz2 openocd+libswd-10c3b1c93665fe46180103faf15276a766a706f4.tar.xz openocd+libswd-10c3b1c93665fe46180103faf15276a766a706f4.zip |
fixed regression in XScale introduce in 297
git-svn-id: svn://svn.berlios.de/openocd/trunk@503 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target')
-rw-r--r-- | src/target/xscale.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/target/xscale.c b/src/target/xscale.c index c93f1ff2..18c5c3de 100644 --- a/src/target/xscale.c +++ b/src/target/xscale.c @@ -427,7 +427,7 @@ int xscale_read_tx(target_t *target, int consume) armv4_5_common_t *armv4_5 = target->arch_info; xscale_common_t *xscale = armv4_5->arch_info; enum tap_state path[3]; - enum tap_state noconsume_path[9]; + enum tap_state noconsume_path[6]; int retval; struct timeval timeout, now; @@ -452,10 +452,7 @@ int xscale_read_tx(target_t *target, int consume) noconsume_path[2] = TAP_E1D; noconsume_path[3] = TAP_PD; noconsume_path[4] = TAP_E2D; - noconsume_path[5] = TAP_UD; - noconsume_path[6] = TAP_SDS; - noconsume_path[7] = TAP_CD; - noconsume_path[8] = TAP_SD; + noconsume_path[5] = TAP_SD; fields[0].device = xscale->jtag_info.chain_pos; fields[0].num_bits = 3; @@ -495,7 +492,9 @@ int xscale_read_tx(target_t *target, int consume) if (consume) jtag_add_pathmove(3, path); else + { jtag_add_pathmove(sizeof(noconsume_path)/sizeof(*noconsume_path), noconsume_path); + } jtag_add_dr_scan(3, fields, TAP_RTI); |