summaryrefslogtreecommitdiff
path: root/src/target
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-08 07:09:32 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-08 07:09:32 +0000
commit101ec4eae1a627691d93f7d599c38db00c4a26aa (patch)
treed6d7d8c972e0e339c5756c7208d99274fdcec161 /src/target
parentdd673b0b5f58cb1f796c1026c4a628eb863327a0 (diff)
downloadopenocd_libswd-101ec4eae1a627691d93f7d599c38db00c4a26aa.tar.gz
openocd_libswd-101ec4eae1a627691d93f7d599c38db00c4a26aa.tar.bz2
openocd_libswd-101ec4eae1a627691d93f7d599c38db00c4a26aa.tar.xz
openocd_libswd-101ec4eae1a627691d93f7d599c38db00c4a26aa.zip
retire jtag_set_check_value
git-svn-id: svn://svn.berlios.de/openocd/trunk@1665 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target')
-rw-r--r--src/target/etb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/etb.c b/src/target/etb.c
index 74c0e952..1d70f416 100644
--- a/src/target/etb.c
+++ b/src/target/etb.c
@@ -283,10 +283,10 @@ int etb_read_reg_w_check(reg_t *reg, u8* check_value, u8* check_mask)
buf_set_u32(fields[1].out_value, 0, 7, 0x0);
fields[0].in_value = reg->value;
- jtag_set_check_value(fields+0, check_value, check_mask, NULL);
-
jtag_add_dr_scan(3, fields, TAP_INVALID);
+ jtag_check_value_mask(fields+0, check_value, check_mask);
+
free(fields[1].out_value);
free(fields[2].out_value);