4cb3c9fae2
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> |
||
---|---|---|
.. | ||
aice | ||
drivers | ||
hla | ||
adapter.c | ||
adapter.h | ||
commands.c | ||
commands.h | ||
core.c | ||
driver.h | ||
interface.c | ||
interface.h | ||
interfaces.c | ||
interfaces.h | ||
jtag.h | ||
Makefile.am | ||
minidriver.h | ||
startup.tcl | ||
swd.h | ||
swim.c | ||
swim.h | ||
tcl.c | ||
tcl.h |