diff --git a/urjtag/ChangeLog b/urjtag/ChangeLog index 1b7340b9..b45e624d 100644 --- a/urjtag/ChangeLog +++ b/urjtag/ChangeLog @@ -1,3 +1,8 @@ +2010-01-24 Mike Frysinger + + * include/urjtag/xpcu.h: Remove unused header. + * include/urjtag/urjtag.h.in, include/urjtag/Makefile.am: Remove xpcu.h. + 2010-01-24 Arnim Laeuger * src/tap/usbconn/libftd2xx.c: const urj_tap_usbconn_ftd2xx_driver diff --git a/urjtag/include/urjtag/Makefile.am b/urjtag/include/urjtag/Makefile.am index a26691ac..5dfe6333 100644 --- a/urjtag/include/urjtag/Makefile.am +++ b/urjtag/include/urjtag/Makefile.am @@ -54,5 +54,4 @@ pkginclude_HEADERS = \ svf.h \ types.h \ urjtag.h \ - usbconn.h \ - xpcu.h + usbconn.h diff --git a/urjtag/include/urjtag/urjtag.h.in b/urjtag/include/urjtag/urjtag.h.in index 9fddfafa..80d731ef 100644 --- a/urjtag/include/urjtag/urjtag.h.in +++ b/urjtag/include/urjtag/urjtag.h.in @@ -61,7 +61,6 @@ #include "tap_state.h" #if HAVE_LIBUSB #include "usbconn.h" -#include "xpcu.h" #endif #endif /* URJ_URJTAG_H */ diff --git a/urjtag/include/urjtag/xpcu.h b/urjtag/include/urjtag/xpcu.h deleted file mode 100644 index 7a7789de..00000000 --- a/urjtag/include/urjtag/xpcu.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * $Id$ - * - * Xilinx Platform Cable USB functions - * Copyright (C) 2008 K. Waschk - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - * - * Written by Kolja Waschk , 2008 - * - */ - -#ifndef URJ_XPCU_H -#define URJ_XPCU_H 1 - -#include -#include - -#define URJ_XPCU_VID 0x03FD -#define URJ_XPCU_PID 0x0008 - -struct usb_device *find_xpcu (void); -int xpcu_init (void); -int xpcu_close (struct usb_dev_handle *xpcu); -int xpcu_request_28 (struct usb_dev_handle *xpcu, int value); -int xpcu_raise_ioa5 (struct usb_dev_handle *xpcu); -int xpcu_write_gpio (struct usb_dev_handle *xpcu, uint8_t bits); -int xpcu_read_gpio (struct usb_dev_handle *xpcu, uint8_t *bits); -int xpcu_bitrev_test (struct usb_dev_handle *xpcu); -int xpcu_select_gpio (struct usb_dev_handle *xpcu, int select); -int xpcu_open (struct usb_dev_handle **xpcu); -int xpcu_request_a6 (struct usb_dev_handle *xpcu, int nibbles, uint8_t *xmit, - int inlen, uint8_t *recv); - - -#endif /* URJ_XPCU_H */