diff options
author | Antonio Borneo <borneo.antonio@gmail.com> | 2019-01-22 16:03:15 +0100 |
---|---|---|
committer | Tomas Vanek <vanekt@fbl.cz> | 2019-06-06 16:45:31 +0100 |
commit | 159f11fefc194743a0af6e29e134b184bf26650d (patch) | |
tree | 98840b35b80ab4da5b5ff453b6245e97c6dcee2f /src/jtag/minidummy | |
parent | 0cba5b4ea30a436e1ab381b374ea89743a23e09c (diff) | |
download | riscv-openocd-159f11fefc194743a0af6e29e134b184bf26650d.zip riscv-openocd-159f11fefc194743a0af6e29e134b184bf26650d.tar.gz riscv-openocd-159f11fefc194743a0af6e29e134b184bf26650d.tar.bz2 |
jtag: set default "jtag_only" to uninitialized transports
For legacy support, drivers that do not define a list of
transports get identified as jtag_only.
Cleanup this old crust and initialize properly the transports
field in the jtag_interface for all the drivers.
Change-Id: I9c86064e5d05bd0212bc18f4424414e615e617fe
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/4893
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Diffstat (limited to 'src/jtag/minidummy')
-rw-r--r-- | src/jtag/minidummy/minidummy.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/jtag/minidummy/minidummy.c b/src/jtag/minidummy/minidummy.c index b7c989f..2f26004 100644 --- a/src/jtag/minidummy/minidummy.c +++ b/src/jtag/minidummy/minidummy.c @@ -28,6 +28,7 @@ struct jtag_interface minidummy_interface = { .name = "minidummy", .execute_queue = NULL, .speed = NULL, + .transports = jtag_only, .commands = NULL, .init = NULL, .quit = NULL, |