X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fconfigs%2Fspear-common.h;h=5fef8cce808c339c45617e6df9dd26f2fc09661d;hb=385488dc1b20e55739cfdecdce20319a60dbad44;hp=55d19b5ce3f4cc88b4a343ab80d6dda047fded6d;hpb=a39fcfb24be1520859af038971f1eb1b5e06e927;p=oweals%2Fu-boot.git 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