diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2010-07-09 18:34:31 -0400 |
---|---|---|
committer | David Brownell <db@helium.(none)> | 2010-07-09 18:34:31 -0400 |
commit | e8445c9c9f02e82ea417776fa27fbe793ae22f83 (patch) | |
tree | acf0e39eafd022f3d86168db1a355cd3ee5c8951 /src/jtag/interface.h | |
parent | ac5ad4ad8d0312259974d4aeb947a43fa815c3a8 (diff) |
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.h | 5 |
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 |