mirror of
https://xff.cz/git/u-boot/
synced 2025-09-02 09:12:08 +02:00
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:
@@ -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 */
|
Reference in New Issue
Block a user