USB:gadget:designware USB device controller (UDC) implementation

The earlier usb device controller driver was specific to spear platforms. This
patch implements the usb device controller driver as a generic controller which
can be reused by other platforms using this peripheral.

Signed-off-by: Vipin Kumar <vipin.kumar@st.com>
Signed-off-by: Amit Virdi <amit.virdi@st.com>
Acked-by: Marek Vasut <marex@denx.de>
This commit is contained in:
Vipin KUMAR 2012-03-06 23:39:37 +00:00 committed by Marek Vasut
parent 5b84dd67cf
commit 2721551a11
5 changed files with 37 additions and 36 deletions

View file

@ -21,8 +21,8 @@
* MA 02111-1307 USA
*/
#ifndef __SPR_UDC_H
#define __SPR_UDC_H
#ifndef __DW_UDC_H
#define __DW_UDC_H
/*
* Defines for USBD
@ -227,4 +227,4 @@ 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 /* __SPR_UDC_H */
#endif /* __DW_UDC_H */