summaryrefslogtreecommitdiff
path: root/src/target/xscale.c
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-03-05 19:33:53 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-03-05 19:33:53 +0000
commit087ccf3b6e1fb75f574b8b388fc51b86312518f6 (patch)
tree12e565908c06ce361155bce6c924967da22bbc5e /src/target/xscale.c
parent01a5d87d5f5788542c5d26da1c19fa4e634adc10 (diff)
downloadopenocd_libswd-087ccf3b6e1fb75f574b8b388fc51b86312518f6.tar.gz
openocd_libswd-087ccf3b6e1fb75f574b8b388fc51b86312518f6.tar.bz2
openocd_libswd-087ccf3b6e1fb75f574b8b388fc51b86312518f6.tar.xz
openocd_libswd-087ccf3b6e1fb75f574b8b388fc51b86312518f6.zip
warnings & comments fixes.
git-svn-id: svn://svn.berlios.de/openocd/trunk@449 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/xscale.c')
-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 30b25cb7..322df762 100644
--- a/src/target/xscale.c
+++ b/src/target/xscale.c
@@ -380,7 +380,7 @@ int xscale_receive(target_t *target, u32 *buffer, int num_words)
jtag_add_end_state(TAP_RTI);
xscale_jtag_set_instr(xscale->jtag_info.chain_pos, xscale->jtag_info.dbgtx);
- jtag_add_runtest(1, -1);
+ jtag_add_runtest(1, -1); /* ensures that we're in the TAP_RTI state as the above could be a no-op */
/* repeat until all words have been collected */
int attempts=0;