diff options
author | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-03-06 11:29:59 +0100 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-03-08 08:12:26 +0100 |
commit | 50dc56a488c6e4d5acdfd73f12e3502e1586c51e (patch) | |
tree | 4a7d9fbaa62d442eb8bb968903f85b9c0b959e31 /src/jtag/minidummy | |
parent | 57d7743639d5092770d79f7c4b12ae694c482750 (diff) | |
download | riscv-openocd-50dc56a488c6e4d5acdfd73f12e3502e1586c51e.zip riscv-openocd-50dc56a488c6e4d5acdfd73f12e3502e1586c51e.tar.gz riscv-openocd-50dc56a488c6e4d5acdfd73f12e3502e1586c51e.tar.bz2 |
jtag: simplify jtag_add_plain_ir/dr_scan
These fn's now clearly just clock out/in bits. No mystical
fields are involved.
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src/jtag/minidummy')
-rw-r--r-- | src/jtag/minidummy/minidummy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jtag/minidummy/minidummy.c b/src/jtag/minidummy/minidummy.c index 1eef087..46ec9c3 100644 --- a/src/jtag/minidummy/minidummy.c +++ b/src/jtag/minidummy/minidummy.c @@ -54,7 +54,7 @@ int interface_jtag_add_ir_scan(struct jtag_tap *active, const struct scan_field } -int interface_jtag_add_plain_ir_scan(int num_fields, const struct scan_field *fields, tap_state_t state) +int interface_jtag_add_plain_ir_scan(int num_bits, const uint8_t *out_bits, uint8_t *in_bits, tap_state_t state) { /* synchronously do the operation here */ @@ -68,7 +68,7 @@ int interface_jtag_add_dr_scan(struct jtag_tap *active, int num_fields, const st return ERROR_OK; } -int interface_jtag_add_plain_dr_scan(int num_fields, const struct scan_field *fields, tap_state_t state) +int interface_jtag_add_plain_dr_scan(int num_bits, const uint8_t *out_bits, uint8_t *in_bits, tap_state_t state) { /* synchronously do the operation here */ |