summaryrefslogtreecommitdiff
path: root/src/target/target.h
diff options
context:
space:
mode:
authorØyvind Harboe <oyvind.harboe@zylin.com>2010-01-11 15:28:18 +0100
committerØyvind Harboe <oyvind.harboe@zylin.com>2010-01-13 12:00:02 +0100
commitdc793455e9a04be556b0b25eb1513ecbb7be3f51 (patch)
treea09806f64def6c9b5cbe5f7ea6f244c0d3fd5932 /src/target/target.h
parent3e33393078105f25ebd591b5b76c7c1501ff41d5 (diff)
downloadopenocd+libswd-dc793455e9a04be556b0b25eb1513ecbb7be3f51.tar.gz
openocd+libswd-dc793455e9a04be556b0b25eb1513ecbb7be3f51.tar.bz2
openocd+libswd-dc793455e9a04be556b0b25eb1513ecbb7be3f51.tar.xz
openocd+libswd-dc793455e9a04be556b0b25eb1513ecbb7be3f51.zip
target: add check_reset hook
Allow targets to run checks post reset. Used to check that e.g. DCC downloads have been enabled. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src/target/target.h')
-rw-r--r--src/target/target.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/target/target.h b/src/target/target.h
index 4151c228..da91d464 100644
--- a/src/target/target.h
+++ b/src/target/target.h
@@ -2,7 +2,7 @@
* Copyright (C) 2005 by Dominic Rath *
* Dominic.Rath@gmx.de *
* *
- * Copyright (C) 2007,2008,2009 Øyvind Harboe *
+ * Copyright (C) 2007-9 Øyvind Harboe *
* oyvind.harboe@zylin.com *
* *
* Copyright (C) 2008 by Spencer Oliver *
@@ -483,4 +483,6 @@ void target_all_handle_event(enum target_event e);
const char *target_strerror_safe(int err);
+extern bool get_target_reset_nag(void);
+
#endif /* TARGET_H */