diff options
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 |
commit | 57d7743639d5092770d79f7c4b12ae694c482750 (patch) | |
tree | 7b022a9b5df72bb30d05b6594574819c9c6e6f6d /src/jtag/minidummy/minidummy.c | |
parent | e018c7c1d29e8dabb9b4a90bb9eb3574eb1668bb (diff) | |
download | riscv-openocd-57d7743639d5092770d79f7c4b12ae694c482750.zip riscv-openocd-57d7743639d5092770d79f7c4b12ae694c482750.tar.gz riscv-openocd-57d7743639d5092770d79f7c4b12ae694c482750.tar.bz2 |
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/jtag/minidummy/minidummy.c')
-rw-r--r-- | src/jtag/minidummy/minidummy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jtag/minidummy/minidummy.c b/src/jtag/minidummy/minidummy.c index 98b449f..1eef087 100644 --- a/src/jtag/minidummy/minidummy.c +++ b/src/jtag/minidummy/minidummy.c @@ -46,7 +46,7 @@ int interface_jtag_execute_queue(void) return ERROR_OK; } -int interface_jtag_add_ir_scan(struct jtag_tap *active, int num_fields, const struct scan_field *fields, tap_state_t state) +int interface_jtag_add_ir_scan(struct jtag_tap *active, const struct scan_field *fields, tap_state_t state) { /* synchronously do the operation here */ |