openocd/src/jtag
Antonio Borneo 4cb3c9fae2 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>
2021-11-13 10:47:02 +00:00
..
aice jtag/aice: remove unused exported struct aice_interface_param_s 2021-10-25 16:13:17 +00:00
drivers jtag/adapter: move 'usb location' code in adapter.c 2021-11-13 10:47:02 +00:00
hla hla: improve readability of struct hl_interface_s initialization 2021-10-25 16:13:03 +00:00
adapter.c jtag/adapter: move 'usb location' code in adapter.c 2021-11-13 10:47:02 +00:00
adapter.h jtag/adapter: move 'usb location' code in adapter.c 2021-11-13 10:47:02 +00:00
commands.c openocd: remove NULL comparisons with checkpatch [2/2] 2021-07-24 10:38:11 +01:00
commands.h jtag: make cmd_queue_scan_field_clone public 2018-10-16 11:58:17 +01:00
core.c jtag/core: get rid of variable 'jtag' 2021-11-13 10:46:25 +00:00
driver.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
interface.c coding style: prototype of functions with no parameters 2020-05-09 14:39:59 +01:00
interface.h armv7m_trace: get rid of the old tpiu code 2021-03-10 21:34:04 +00:00
interfaces.c jtag: remove minidriver code and minidriver-dummy 2021-03-19 21:56:06 +00:00
interfaces.h jtag: remove unused function adapter_driver_modules_load() 2020-05-02 15:41:21 +01:00
jtag.h Cleanup of config/includes. 2021-05-01 14:35:09 +01:00
Makefile.am jtag/adapter: move 'usb location' code in adapter.c 2021-11-13 10:47:02 +00:00
minidriver.h jtag: fix some minor typo 2021-05-22 10:06:38 +01:00
startup.tcl drivers/ft232r: Group adapter commands 2021-08-14 13:37:36 +01:00
swd.h jtag/swd: rename CamelCase macros 2021-07-02 17:10:31 +01:00
swim.c swim: add new transport 2020-05-24 21:32:05 +01:00
swim.h swim: fix adapter speed handling 2020-05-24 21:31:21 +01:00
tcl.c openocd: remove NULL comparisons with checkpatch [1/2] 2021-07-24 10:38:00 +01:00
tcl.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00