summaryrefslogtreecommitdiff
path: root/include/usb
diff options
context:
space:
mode:
authorVipin KUMAR <vipin.kumar@st.com>2012-03-06 23:39:37 +0000
committerMarek Vasut <marek.vasut@gmail.com>2012-03-19 00:08:16 +0100
commit2721551a11e64ac639547211dae027eea476af4c (patch)
treea61ab51a59f5d045eb801558f6e1152d410f5e14 /include/usb
parent5b84dd67cfd8c07c4adff935310224a03d0c4d01 (diff)
downloadu-boot-2721551a11e64ac639547211dae027eea476af4c.tar.gz
u-boot-2721551a11e64ac639547211dae027eea476af4c.tar.bz2
u-boot-2721551a11e64ac639547211dae027eea476af4c.zip
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>
Diffstat (limited to 'include/usb')
-rw-r--r--include/usb/designware_udc.h (renamed from include/usb/spr_udc.h)6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/usb/spr_udc.h b/include/usb/designware_udc.h
index 2c332d5999..ae98e8c2c2 100644
--- a/include/usb/spr_udc.h
+++ b/include/usb/designware_udc.h
@@ -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 */