summaryrefslogtreecommitdiff
path: root/src/xsvf
diff options
context:
space:
mode:
authorØyvind Harboe <oyvind.harboe@zylin.com>2010-03-04 14:38:19 +0100
committerØyvind Harboe <oyvind.harboe@zylin.com>2010-03-08 08:12:25 +0100
commit57d7743639d5092770d79f7c4b12ae694c482750 (patch)
tree7b022a9b5df72bb30d05b6594574819c9c6e6f6d /src/xsvf
parente018c7c1d29e8dabb9b4a90bb9eb3574eb1668bb (diff)
downloadopenocd_libswd-57d7743639d5092770d79f7c4b12ae694c482750.tar.gz
openocd_libswd-57d7743639d5092770d79f7c4b12ae694c482750.tar.bz2
openocd_libswd-57d7743639d5092770d79f7c4b12ae694c482750.tar.xz
openocd_libswd-57d7743639d5092770d79f7c4b12ae694c482750.zip
jtag: jtag_add_ir_scan() now takes a single field
In the code a single field was all that was ever used. Makes jtag_add_ir_scan() simpler and leaves more complicated stuff to jtag_add_plain_ir_scan(). Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src/xsvf')
-rw-r--r--src/xsvf/xsvf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xsvf/xsvf.c b/src/xsvf/xsvf.c
index faa55421..14bed8ef 100644
--- a/src/xsvf/xsvf.c
+++ b/src/xsvf/xsvf.c
@@ -704,7 +704,7 @@ COMMAND_HANDLER(handle_xsvf_command)
if (tap == NULL)
jtag_add_plain_ir_scan(1, &field, my_end_state);
else
- jtag_add_ir_scan(tap, 1, &field, my_end_state);
+ jtag_add_ir_scan(tap, &field, my_end_state);
if (xruntest)
{