aboutsummaryrefslogtreecommitdiff
path: root/src/jtag/jtag.h
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-16 00:23:00 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-16 00:23:00 +0000
commit5f9b74d0557ec577b45d7af18312bab58098c9d9 (patch)
treeb64201d781c926d1db56fe12ce0601473bbd9d8a /src/jtag/jtag.h
parent03803a9d792d613e60fcc0b5e810e68488e17b87 (diff)
downloadriscv-openocd-5f9b74d0557ec577b45d7af18312bab58098c9d9.zip
riscv-openocd-5f9b74d0557ec577b45d7af18312bab58098c9d9.tar.gz
riscv-openocd-5f9b74d0557ec577b45d7af18312bab58098c9d9.tar.bz2
David Brownell <david-b@pacbell.net>:
Doc update: say "jtag newtap ... -disable" records the state after exiting the RESET state, matching the only implementation we're working with so far (TI ICEpick-C). Matching code updates. Now we can be sure that the "enabled" flag value is correct after JTAG resets. git-svn-id: svn://svn.berlios.de/openocd/trunk@2246 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/jtag/jtag.h')
-rw-r--r--src/jtag/jtag.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/jtag/jtag.h b/src/jtag/jtag.h
index 34a099b..956343e 100644
--- a/src/jtag/jtag.h
+++ b/src/jtag/jtag.h
@@ -151,8 +151,10 @@ struct jtag_tap_s
const char* tapname;
const char* dotted_name;
int abs_chain_position;
- /// Is this TAP enabled?
- int enabled;
+ /// Is this TAP disabled after JTAG reset?
+ bool disabled_after_reset;
+ /// Is this TAP currently enabled?
+ bool enabled;
int ir_length; /**< size of instruction register */
u32 ir_capture_value;
u8* expected; /**< Capture-IR expected value */