summaryrefslogtreecommitdiff
path: root/src/jtag/interface.h
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2010-07-09 18:34:31 -0400
committerDavid Brownell <db@helium.(none)>2010-07-09 18:34:31 -0400
commite8445c9c9f02e82ea417776fa27fbe793ae22f83 (patch)
treeacf0e39eafd022f3d86168db1a355cd3ee5c8951 /src/jtag/interface.h
parentac5ad4ad8d0312259974d4aeb947a43fa815c3a8 (diff)
downloadopenocd+libswd-e8445c9c9f02e82ea417776fa27fbe793ae22f83.tar.gz
openocd+libswd-e8445c9c9f02e82ea417776fa27fbe793ae22f83.tar.bz2
openocd+libswd-e8445c9c9f02e82ea417776fa27fbe793ae22f83.tar.xz
openocd+libswd-e8445c9c9f02e82ea417776fa27fbe793ae22f83.zip
transport selection tweaks
* Bugfix and simplify legacy jtag-only defaulting * Make "dummy" declare its jtag-only nature * likewise update ft2232 * warn if selection is _required_ (multi-transport adapters), fixes the "only ft2232 works" bug for at least dummy, with other drivers going the "legacy" path (submit patches). Signed-off-by: David Brownell <db@helium.(none)>
Diffstat (limited to 'src/jtag/interface.h')
-rw-r--r--src/jtag/interface.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/jtag/interface.h b/src/jtag/interface.h
index 0d474049..3226944e 100644
--- a/src/jtag/interface.h
+++ b/src/jtag/interface.h
@@ -206,6 +206,9 @@ struct jtag_interface {
unsigned supported;
#define DEBUG_CAP_TMS_SEQ (1 << 0)
+ /** transports supported in C code (NULL terminated vector) */
+ const char **transports;
+
/**
* Execute queued commands.
* @returns ERROR_OK on success, or an error code on failure.
@@ -289,4 +292,6 @@ struct jtag_interface {
};
+extern const char *jtag_only[];
+
#endif // OPENOCD_JTAG_INTERFACE_H