]> git.sur5r.net Git - u-boot/blobdiff - include/usb/designware_udc.h
arm: imx: m53evk: remove usage of mx53_dram_size
[u-boot] / include / usb / designware_udc.h
index ae98e8c2c2090930950d035b03b30821d3d16238..2e1cdf138f1a0f0b3e64bf30d7a011e90ad5790c 100644 (file)
@@ -2,23 +2,7 @@
  * (C) Copyright 2009
  * Vipin Kumar, ST Micoelectronics, vipin.kumar@st.com.
  *
- * See file CREDITS for list of people who contributed to this
- * project.
- *
- * 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
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __DW_UDC_H
@@ -189,18 +173,6 @@ struct udcfifo_regs {
        u32 *fifo_p;
 };
 
-/*
- * USBTTY definitions
- */
-#define  EP0_MAX_PACKET_SIZE           64
-#define  UDC_INT_ENDPOINT              1
-#define  UDC_INT_PACKET_SIZE           64
-#define  UDC_OUT_ENDPOINT              2
-#define  UDC_BULK_PACKET_SIZE          64
-#define  UDC_IN_ENDPOINT               3
-#define  UDC_OUT_PACKET_SIZE           64
-#define  UDC_IN_PACKET_SIZE            64
-
 /*
  * UDC endpoint definitions
  */
@@ -209,22 +181,4 @@ struct udcfifo_regs {
 #define  UDC_EP2                       2
 #define  UDC_EP3                       3
 
-/*
- * Function declarations
- */
-
-void udc_irq(void);
-
-void udc_set_nak(int epid);
-void udc_unset_nak(int epid);
-int udc_endpoint_write(struct usb_endpoint_instance *endpoint);
-int udc_init(void);
-void udc_enable(struct usb_device_instance *device);
-void udc_disable(void);
-void udc_connect(void);
-void udc_disconnect(void);
-void udc_startup_events(struct usb_device_instance *device);
-void udc_setup_ep(struct usb_device_instance *device, unsigned int ep,
-                 struct usb_endpoint_instance *endpoint);
-
 #endif /* __DW_UDC_H */