mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-07-10 21:26:19 +09:00
SPEAr: Enable udc and usb-console support only for usbtty configuration
This patch enables the UDC and usb-console support only for usbtty configurations Signed-off-by: Vipin Kumar <vipin.kumar@st.com> Signed-off-by: Amit Virdi <amit.virdi@st.com> Acked-by: Stefan Roese <sr@denx.de> Signed-off-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
5072668450
commit
b884236ec3
|
@ -39,6 +39,7 @@
|
||||||
#define CONFIG_PHY_RESET_DELAY 10000 /* in usec */
|
#define CONFIG_PHY_RESET_DELAY 10000 /* in usec */
|
||||||
|
|
||||||
/* USBD driver configuration */
|
/* USBD driver configuration */
|
||||||
|
#if defined(CONFIG_SPEAR_USBTTY)
|
||||||
#define CONFIG_DW_UDC
|
#define CONFIG_DW_UDC
|
||||||
#define CONFIG_USB_DEVICE
|
#define CONFIG_USB_DEVICE
|
||||||
#define CONFIG_USBD_HS
|
#define CONFIG_USBD_HS
|
||||||
|
@ -47,6 +48,8 @@
|
||||||
#define CONFIG_USBD_PRODUCT_NAME "SPEAr SoC"
|
#define CONFIG_USBD_PRODUCT_NAME "SPEAr SoC"
|
||||||
#define CONFIG_USBD_MANUFACTURER "ST Microelectronics"
|
#define CONFIG_USBD_MANUFACTURER "ST Microelectronics"
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
#define CONFIG_EXTRA_ENV_USBTTY "usbtty=cdc_acm\0"
|
#define CONFIG_EXTRA_ENV_USBTTY "usbtty=cdc_acm\0"
|
||||||
|
|
||||||
/* I2C driver configuration */
|
/* I2C driver configuration */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user