diff options
author | Antonio Borneo <borneo.antonio@gmail.com> | 2020-11-03 16:50:49 +0100 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2021-03-19 21:56:06 +0000 |
commit | 25218e8935037367e419219f8c855d92a3163023 (patch) | |
tree | be056bd9f48fd75888ae912b8951b62aa73e15a6 /src/target/embeddedice.c | |
parent | b0fe92dba7c01adc25e5fe3552253a4a8c69ae1a (diff) | |
download | riscv-openocd-25218e8935037367e419219f8c855d92a3163023.zip riscv-openocd-25218e8935037367e419219f8c855d92a3163023.tar.gz riscv-openocd-25218e8935037367e419219f8c855d92a3163023.tar.bz2 |
jtag: remove minidriver code and minidriver-dummy
With zy1000 removed, there is no other implementation that uses
the minidriver, apart from the test/example minidriver-dummy.
While the idea of the minidriver is probably still valid (that is
to intercept jtag primitives before serialization), there is no
current use case, no guarantee it is really working, and the way
it was implemented (by macros and #if conditionals) is really hard
to maintain and test.
Let's let it rip in git history, from where it could eventually be
taken back in a more modern implementation.
The entry points of minidriver API are still in the code with the
original names.
Change-Id: I882e32cb26cf5842f9cba14e3badaf8948e3760d
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/6091
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Diffstat (limited to 'src/target/embeddedice.c')
-rw-r--r-- | src/target/embeddedice.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/target/embeddedice.c b/src/target/embeddedice.c index 7c53c45..a29508b 100644 --- a/src/target/embeddedice.c +++ b/src/target/embeddedice.c @@ -645,7 +645,6 @@ int embeddedice_handshake(struct arm_jtag *jtag_info, int hsbit, uint32_t timeou return ERROR_TARGET_TIMEOUT; } -#ifndef HAVE_JTAG_MINIDRIVER_H /** * This is an inner loop of the open loop DCC write of data to target */ @@ -660,6 +659,3 @@ void embeddedice_write_dcc(struct jtag_tap *tap, buffer += 4; } } -#else -/* provided by minidriver */ -#endif |