hawkboard: Add CONFIG_SPL_LIBGENERIC_SUPPORT
[oweals/u-boot.git] / include / configs / spear-common.h
index 55d19b5ce3f4cc88b4a343ab80d6dda047fded6d..5fef8cce808c339c45617e6df9dd26f2fc09661d 100644 (file)
  */
 
 /* 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