summaryrefslogtreecommitdiffstats
path: root/include/configs/spear-common.h
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/configs/spear-common.h
parent5b84dd67cfd8c07c4adff935310224a03d0c4d01 (diff)
downloadblackbird-obmc-uboot-2721551a11e64ac639547211dae027eea476af4c.tar.gz
blackbird-obmc-uboot-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/configs/spear-common.h')
-rw-r--r--include/configs/spear-common.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/configs/spear-common.h b/include/configs/spear-common.h
index 55d19b5ce3..5fef8cce80 100644
--- a/include/configs/spear-common.h
+++ b/include/configs/spear-common.h
@@ -28,14 +28,16 @@
*/
/* USBD driver configuration */
-#define CONFIG_SPEARUDC
+#define CONFIG_DW_UDC
#define CONFIG_USB_DEVICE
#define CONFIG_USB_TTY
#define CONFIG_USBD_PRODUCT_NAME "SPEAr SoC"
#define CONFIG_USBD_MANUFACTURER "ST Microelectronics"
+#if defined(CONFIG_USB_TTY)
#define CONFIG_EXTRA_ENV_USBTTY "usbtty=cdc_acm\0"
+#endif
/* I2C driver configuration */
#define CONFIG_HARD_I2C
OpenPOWER on IntegriCloud