summaryrefslogtreecommitdiff
path: root/src/jtag/interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/jtag/interface.h')
-rw-r--r--src/jtag/interface.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/jtag/interface.h b/src/jtag/interface.h
index 3226944e..958af8f5 100644
--- a/src/jtag/interface.h
+++ b/src/jtag/interface.h
@@ -209,6 +209,8 @@ struct jtag_interface {
/** transports supported in C code (NULL terminated vector) */
const char **transports;
+ const struct swd_driver *swd;
+
/**
* Execute queued commands.
* @returns ERROR_OK on success, or an error code on failure.
@@ -294,4 +296,6 @@ struct jtag_interface {
extern const char *jtag_only[];
+extern const struct swd_driver *swd;
+
#endif // OPENOCD_JTAG_INTERFACE_H