summaryrefslogtreecommitdiff
path: root/src/jtag/jtag.h
diff options
context:
space:
mode:
authorkc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-12-12 00:21:07 +0000
committerkc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-12-12 00:21:07 +0000
commitd44c70a4b0ba1cce57a0395b1a8ccc9cdfd27416 (patch)
tree2a3db6a14a1de3c6b55a4df276b568e4ebea64de /src/jtag/jtag.h
parent83797fc5166c872bcc941834f3d10249ec228348 (diff)
downloadopenocd_libswd-d44c70a4b0ba1cce57a0395b1a8ccc9cdfd27416.tar.gz
openocd_libswd-d44c70a4b0ba1cce57a0395b1a8ccc9cdfd27416.tar.bz2
openocd_libswd-d44c70a4b0ba1cce57a0395b1a8ccc9cdfd27416.tar.xz
openocd_libswd-d44c70a4b0ba1cce57a0395b1a8ccc9cdfd27416.zip
Allow -expected-id to be specified multiple times when creating a jtag tap
git-svn-id: svn://svn.berlios.de/openocd/trunk@1229 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/jtag/jtag.h')
-rw-r--r--src/jtag/jtag.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/jtag/jtag.h b/src/jtag/jtag.h
index bf04e41c..5e1733e9 100644
--- a/src/jtag/jtag.h
+++ b/src/jtag/jtag.h
@@ -179,7 +179,8 @@ struct jtag_tap_s
u32 ir_capture_mask;
u8 *expected_mask; /* Capture-IR expected mask */
u32 idcode; /* device identification code */
- u32 expected_id;
+ u32 *expected_ids; /* Array of expected identification codes */
+ u8 expected_ids_cnt;/* Number of expected identification codes */
u8 *cur_instr; /* current instruction */
int bypass; /* bypass register selected */
jtag_tap_t *next_tap;