summaryrefslogtreecommitdiff
path: root/src/target/target.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/target/target.h')
-rw-r--r--src/target/target.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/target/target.h b/src/target/target.h
index 6ce8fee9..d95c4aa7 100644
--- a/src/target/target.h
+++ b/src/target/target.h
@@ -54,14 +54,6 @@ enum target_state
extern char *target_state_strings[];
-enum daemon_startup_mode
-{
- DAEMON_ATTACH, /* simply attach to the target */
- DAEMON_RESET, /* reset target (behaviour defined by reset_mode */
-};
-
-extern enum daemon_startup_mode startup_mode;
-
enum target_reset_mode
{
RESET_RUN = 0, /* reset and let target run */
@@ -130,6 +122,11 @@ typedef struct target_type_s
* assert_reset() can therefore make no assumptions whatsoever about the
* state of the target
*
+ * Before assert_reset() for the target is invoked, a TRST/tms and
+ * chain validation is executed. TRST should not be asserted
+ * during target assert unless there is no way around it due to
+ * the way reset's are configured.
+ *
*/
int (*assert_reset)(struct target_s *target);
int (*deassert_reset)(struct target_s *target);