mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00: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:
parent
5b84dd67cf
commit
2721551a11
5 changed files with 37 additions and 36 deletions
|
@ -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 */
|
Loading…
Add table
Add a link
Reference in a new issue