From 14db4d2976f8e9342ced21353ac41aa8d763b0b5 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 24 Jan 2010 18:40:34 +0000 Subject: [PATCH] no one uses xpcu.h, and the definitions in it do not match the actual xpc cable code, so punt it git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1730 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- urjtag/ChangeLog | 5 ++++ urjtag/include/urjtag/Makefile.am | 3 +- urjtag/include/urjtag/urjtag.h.in | 1 - urjtag/include/urjtag/xpcu.h | 49 ------------------------------- 4 files changed, 6 insertions(+), 52 deletions(-) delete mode 100644 urjtag/include/urjtag/xpcu.h 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 */