Remove support for the GPL incompatible FTDI D2XX library
Convert Presto, OpenJTAG and USB-Blaster (I) adapter drivers to libftdi only. Change-Id: Ib28887620a3dcbb754b9dbf87b9731acca3ac600 Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on: http://openocd.zylin.com/3237 Tested-by: jenkins Reviewed-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
This commit is contained in:
@@ -54,7 +54,7 @@ extern struct jtag_interface dummy_interface;
|
||||
#if BUILD_FTDI == 1
|
||||
extern struct jtag_interface ftdi_interface;
|
||||
#endif
|
||||
#if BUILD_USB_BLASTER_LIBFTDI == 1 || BUILD_USB_BLASTER_FTD2XX == 1 || BUILD_USB_BLASTER_2 == 1
|
||||
#if BUILD_USB_BLASTER == 1 || BUILD_USB_BLASTER_2 == 1
|
||||
extern struct jtag_interface usb_blaster_interface;
|
||||
#endif
|
||||
#if BUILD_JTAG_VPI == 1
|
||||
@@ -72,7 +72,7 @@ extern struct jtag_interface at91rm9200_interface;
|
||||
#if BUILD_GW16012 == 1
|
||||
extern struct jtag_interface gw16012_interface;
|
||||
#endif
|
||||
#if BUILD_PRESTO_LIBFTDI == 1 || BUILD_PRESTO_FTD2XX == 1
|
||||
#if BUILD_PRESTO
|
||||
extern struct jtag_interface presto_interface;
|
||||
#endif
|
||||
#if BUILD_USBPROG == 1
|
||||
@@ -147,7 +147,7 @@ struct jtag_interface *jtag_interfaces[] = {
|
||||
#if BUILD_FTDI == 1
|
||||
&ftdi_interface,
|
||||
#endif
|
||||
#if BUILD_USB_BLASTER_LIBFTDI == 1 || BUILD_USB_BLASTER_FTD2XX == 1 || BUILD_USB_BLASTER_2 == 1
|
||||
#if BUILD_USB_BLASTER || BUILD_USB_BLASTER_2 == 1
|
||||
&usb_blaster_interface,
|
||||
#endif
|
||||
#if BUILD_JTAG_VPI == 1
|
||||
@@ -165,7 +165,7 @@ struct jtag_interface *jtag_interfaces[] = {
|
||||
#if BUILD_GW16012 == 1
|
||||
&gw16012_interface,
|
||||
#endif
|
||||
#if BUILD_PRESTO_LIBFTDI == 1 || BUILD_PRESTO_FTD2XX == 1
|
||||
#if BUILD_PRESTO
|
||||
&presto_interface,
|
||||
#endif
|
||||
#if BUILD_USBPROG == 1
|
||||
|
||||
Reference in New Issue
Block a user