diff options
author | Vipin KUMAR <vipin.kumar@st.com> | 2012-05-07 13:06:51 +0530 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-07-07 14:07:41 +0200 |
commit | b884236ec343ca1c24d4bf740fbf883ae16c1cd2 (patch) | |
tree | 0e939ff4034e572eaaa92e0d3e71ea8bea0c58f6 /include/configs/spear-common.h | |
parent | 507266845025e0ff44892130292d51345596b0ba (diff) | |
download | u-boot-imx-b884236ec343ca1c24d4bf740fbf883ae16c1cd2.zip u-boot-imx-b884236ec343ca1c24d4bf740fbf883ae16c1cd2.tar.gz u-boot-imx-b884236ec343ca1c24d4bf740fbf883ae16c1cd2.tar.bz2 |
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>
Diffstat (limited to 'include/configs/spear-common.h')
-rw-r--r-- | include/configs/spear-common.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/spear-common.h b/include/configs/spear-common.h index ec97896..bd54a18 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 */ |