jtag: drivers: provide initial support for usb path filtering 80/4580/14
authorOleksij Rempel <o.rempel@pengutronix.de>
Wed, 27 Jun 2018 12:54:21 +0000 (14:54 +0200)
committerMatthias Welwarsky <matthias@welwarsky.de>
Thu, 7 Feb 2019 07:51:30 +0000 (07:51 +0000)
commita1b308abd4b867e9d3127dee5b9c5906bdf24f99
treeef12b3cda33e623e1e8e7271176f0ac463d2b3f2
parentdeaf3d264123391d8fe5c4cccbf8fb8852e1be23
jtag: drivers: provide initial support for usb path filtering

With this patch drivers will be able to use usb path filtering.
The path format is identical to the format provided by linux kernel:
bus-port.port....
With this format it should be easier just to copy and paste
path found in dmesg.

Change-Id: I8bafa6fcb7a66ff68cc961a376f97f4f3dee35aa
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Reviewed-on: http://openocd.zylin.com/4580
Tested-by: jenkins
Reviewed-by: Matthias Welwarsky <matthias@welwarsky.de>
src/jtag/adapter.c
src/jtag/drivers/Makefile.am
src/jtag/drivers/jtag_usb_common.c [new file with mode: 0644]
src/jtag/drivers/jtag_usb_common.h [new file with mode: 0644]
src/jtag/drivers/libusb1_common.c