summaryrefslogtreecommitdiff
path: root/drivers/serial
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 /drivers/serial
parent5b84dd67cfd8c07c4adff935310224a03d0c4d01 (diff)
downloadu-boot-imx-2721551a11e64ac639547211dae027eea476af4c.zip
u-boot-imx-2721551a11e64ac639547211dae027eea476af4c.tar.gz
u-boot-imx-2721551a11e64ac639547211dae027eea476af4c.tar.bz2
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 'drivers/serial')
-rw-r--r--drivers/serial/usbtty.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/serial/usbtty.h b/drivers/serial/usbtty.h
index e449cd7..60347d7 100644
--- a/drivers/serial/usbtty.h
+++ b/drivers/serial/usbtty.h
@@ -33,8 +33,8 @@
#include <usb/musb_udc.h>
#elif defined(CONFIG_CPU_PXA27X)
#include <usb/pxa27x_udc.h>
-#elif defined(CONFIG_SPEAR3XX) || defined(CONFIG_SPEAR600)
-#include <usb/spr_udc.h>
+#elif defined(CONFIG_DW_UDC)
+#include <usb/designware_udc.h>
#endif
#include <version.h>