diff options
author | Antonio Borneo <borneo.antonio@gmail.com> | 2021-10-06 23:17:30 +0200 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2021-11-13 10:47:02 +0000 |
commit | 4cb3c9fae2a6a6cb5cf2c664179edace22abf5f6 (patch) | |
tree | ae9614f5a24943406b69802e0183db378721f978 /src/jtag/drivers/Makefile.am | |
parent | a9d0386411d1e372bf4d2187ff7b843bb5e9bfc6 (diff) | |
download | riscv-openocd-4cb3c9fae2a6a6cb5cf2c664179edace22abf5f6.zip riscv-openocd-4cb3c9fae2a6a6cb5cf2c664179edace22abf5f6.tar.gz riscv-openocd-4cb3c9fae2a6a6cb5cf2c664179edace22abf5f6.tar.bz2 |
jtag/adapter: move 'usb location' code in adapter.c
The configuration code for adapter parameters is spread around.
Add a struct in adapter.c aimed at containing all the adapter's
configuration data.
Move in adapter.c the code related to configuring 'usb location'
and the copyright tag.
Add adapter.h to export the functions.
While there:
- rework the copyright and the SPDX tag;
- rename the 'usb location' functions;
- remove the JTAG_SRC variable in Makefile.am.
Change-Id: I4fe0d32991a8a30e315807180688035ae9ee01ce
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/6640
Tested-by: jenkins
Reviewed-by: Tarek BOCHKATI <tarek.bouchkati@gmail.com>
Diffstat (limited to 'src/jtag/drivers/Makefile.am')
-rw-r--r-- | src/jtag/drivers/Makefile.am | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/jtag/drivers/Makefile.am b/src/jtag/drivers/Makefile.am index da60f36..c216152 100644 --- a/src/jtag/drivers/Makefile.am +++ b/src/jtag/drivers/Makefile.am @@ -19,7 +19,6 @@ DRIVERFILES = # Standard Driver: common files DRIVERFILES += %D%/driver.c -DRIVERFILES += %D%/jtag_usb_common.c if USE_LIBUSB1 DRIVERFILES += %D%/libusb_helper.c @@ -187,7 +186,6 @@ endif DRIVERHEADERS = \ %D%/bitbang.h \ %D%/bitq.h \ - %D%/jtag_usb_common.h \ %D%/libftdi_helper.h \ %D%/libusb_helper.h \ %D%/cmsis_dap.h \ |