diff options
author | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-03-19 22:04:45 +0100 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-03-20 11:16:49 +0100 |
commit | 96949890ee29ab4b3ca15802302c5d93358b69e1 (patch) | |
tree | 5b7ca2428f594a96f3c716b3524c3d274bf05e71 /src/target/xscale.c | |
parent | 3b310dbac5ae1db7fb768aa0789bbe101137c7e1 (diff) |
jtag: move towards making out_value const
These were relatively straightforward fixes which are
backwards compatible.
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src/target/xscale.c')
-rw-r--r-- | src/target/xscale.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/xscale.c b/src/target/xscale.c index f0e2311f..0f1953d8 100644 --- a/src/target/xscale.c +++ b/src/target/xscale.c @@ -171,7 +171,7 @@ static int xscale_jtag_set_instr(struct jtag_tap *tap, uint32_t new_instr, tap_s memset(&field, 0, sizeof field); field.num_bits = tap->ir_length; field.out_value = scratch; - buf_set_u32(field.out_value, 0, field.num_bits, new_instr); + buf_set_u32(scratch, 0, field.num_bits, new_instr); jtag_add_ir_scan(tap, &field, end_state); } |