summaryrefslogtreecommitdiff
path: root/include/configs/spear-common.h
diff options
context:
space:
mode:
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 55d19b5..5fef8cc 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