summaryrefslogtreecommitdiff
path: root/src/target/arm11_dbgtap.c
diff options
context:
space:
mode:
authorØyvind Harboe <oyvind.harboe@zylin.com>2010-06-23 10:47:54 +0200
committerØyvind Harboe <oyvind.harboe@zylin.com>2010-06-23 11:10:30 +0200
commite5d1befe43c1d666551cf2bc93de276d4e997476 (patch)
treed57baff1723d5d40961442dd3bc7e13fe2d25d0f /src/target/arm11_dbgtap.c
parent6cb2d6dd7ae6049dce47dfb0b7c389dcf606119f (diff)
downloadopenocd+libswd-e5d1befe43c1d666551cf2bc93de276d4e997476.tar.gz
openocd+libswd-e5d1befe43c1d666551cf2bc93de276d4e997476.tar.bz2
openocd+libswd-e5d1befe43c1d666551cf2bc93de276d4e997476.tar.xz
openocd+libswd-e5d1befe43c1d666551cf2bc93de276d4e997476.zip
arm11: fix gaffe in no-ack transfers
The code did not transfer the last word in no-ack transfers. The strange thing is that this did not lead to any observable errors. This gaffe was introduced in commit 1f5883ea56cb058221f Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src/target/arm11_dbgtap.c')
-rw-r--r--src/target/arm11_dbgtap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/arm11_dbgtap.c b/src/target/arm11_dbgtap.c
index 9ecd08f7..b2c6287f 100644
--- a/src/target/arm11_dbgtap.c
+++ b/src/target/arm11_dbgtap.c
@@ -679,7 +679,7 @@ int arm11_run_instr_data_to_core_noack(struct arm11_common * arm11, uint32_t opc
int retval = arm11_run_instr_data_to_core_noack_inner(arm11->arm.target->tap, opcode, data, count);
- if (retval != ERROR_FAIL)
+ if (retval != ERROR_OK)
return retval;
arm11_add_IR(arm11, ARM11_INTEST, ARM11_TAP_DEFAULT);