X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Fjtag%2Finterfaces.c;h=2a8acdbd64e5b69c0f80c0f62ae99fb7134e0cec;hb=87668aebf1851c06af2513ab5f27ebb9ebf1ff16;hp=304dab622400f360c45d758708a17b5b9662b610;hpb=38f8e5eefac748a30a4bf5e9d7a7313c8ae0e4e9;p=openocd.git diff --git a/src/jtag/interfaces.c b/src/jtag/interfaces.c index 304dab6224..2a8acdbd64 100644 --- a/src/jtag/interfaces.c +++ b/src/jtag/interfaces.c @@ -59,6 +59,9 @@ extern struct jtag_interface ft2232_interface; #if BUILD_FT2232_LIBFTDI == 1 extern struct jtag_interface ft2232_interface; #endif +#if BUILD_FTDI == 1 +extern struct jtag_interface ftdi_interface; +#endif #if BUILD_USB_BLASTER_LIBFTDI == 1 || BUILD_USB_BLASTER_FTD2XX == 1 extern struct jtag_interface usb_blaster_interface; #endif @@ -101,8 +104,17 @@ extern struct jtag_interface buspirate_interface; #if BUILD_REMOTE_BITBANG == 1 extern struct jtag_interface remote_bitbang_interface; #endif -#if BUILD_STLINK == 1 -extern struct jtag_interface stlink_interface; +#if BUILD_HLADAPTER == 1 +extern struct jtag_interface hl_interface; +#endif +#if BUILD_OSBDM == 1 +extern struct jtag_interface osbdm_interface; +#endif +#if BUILD_OPENDOUS == 1 +extern struct jtag_interface opendous_interface; +#endif +#if BUILD_SYSFSGPIO == 1 +extern struct jtag_interface sysfsgpio_interface; #endif #endif /* standard drivers */ @@ -131,6 +143,9 @@ struct jtag_interface *jtag_interfaces[] = { #if BUILD_FT2232_LIBFTDI == 1 &ft2232_interface, #endif +#if BUILD_FTDI == 1 + &ftdi_interface, +#endif #if BUILD_USB_BLASTER_LIBFTDI == 1 || BUILD_USB_BLASTER_FTD2XX == 1 &usb_blaster_interface, #endif @@ -173,8 +188,17 @@ struct jtag_interface *jtag_interfaces[] = { #if BUILD_REMOTE_BITBANG == 1 &remote_bitbang_interface, #endif -#if BUILD_STLINK == 1 - &stlink_interface, +#if BUILD_HLADAPTER == 1 + &hl_interface, +#endif +#if BUILD_OSBDM == 1 + &osbdm_interface, +#endif +#if BUILD_OPENDOUS == 1 + &opendous_interface, +#endif +#if BUILD_SYSFSGPIO == 1 + &sysfsgpio_interface, #endif #endif /* standard drivers */ NULL,