Message ID | b7285e3a464ad4532f241835a142969b2cb31471.1333090212.git.amit.virdi@st.com |
---|---|
State | Accepted |
Commit | b884236ec343ca1c24d4bf740fbf883ae16c1cd2 |
Delegated to: | Stefan Roese |
Headers | show |
diff --git a/include/configs/spear-common.h b/include/configs/spear-common.h index ce01026..801cb90 100644 --- a/include/configs/spear-common.h +++ b/include/configs/spear-common.h @@ -39,6 +39,7 @@ #define CONFIG_PHY_RESET_DELAY 10000 /* in usec */ /* USBD driver configuration */ +#if defined(CONFIG_SPEAR_USBTTY) #define CONFIG_DW_UDC #define CONFIG_USB_DEVICE #define CONFIG_USBD_HS @@ -47,6 +48,8 @@ #define CONFIG_USBD_PRODUCT_NAME "SPEAr SoC" #define CONFIG_USBD_MANUFACTURER "ST Microelectronics" +#endif + #define CONFIG_EXTRA_ENV_USBTTY "usbtty=cdc_acm\0" /* I2C driver configuration */