[U-Boot] [PATCH v2 16/17] SPEAr : spear1300 SoC support added

Vipin KUMAR vipin.kumar at st.com
Mon May 3 13:17:54 CEST 2010


On 5/3/2010 3:49 PM, Tom Rix wrote:
> Vipin KUMAR wrote:
>> On 5/3/2010 6:07 AM, Tom Rix wrote:
>>> Vipin KUMAR wrote:
>>>> SPEAr1300 SoC support contains basic spear1300 support along with the
>>>> usage of following drivers
>>>> - serial driver(UART)
>>>> - i2c driver
>>>> - smi driver
>>>> - nand driver(FSMC)
>>>> - usbd driver
> 
> <snip>
> 
>>>> +
>>>> +#define CONFIG_USBD_PRODUCT_NAME        "SPEAr SoC"
>>>> +#define CONFIG_USBD_MANUFACTURER        "ST Microelectronics"
>>>> +
>>>> +#define CONFIG_EXTRA_ENV_USBTTY            "usbtty=cdc_acm\0"
>>> Should be conditional on CONFIG_SPEAR_USBTTY
>>> Similar changes for spear3xx and spear6xxx
>>>
>>
>> CONFIG_SPEAR_USBTTY is a special case where tty over usb terminal is
>> used for downloading and flashing images.
>> usbtty environment variable should normally also be set as cdc_acm to
>> make sure that we can switch to tty over usb terminal directly from
>> uboot prompt by simply running setenv stdout usbtty\; setenv stdin usbtty
>>
>> So, I am not making it conditional to CONFIG_EXTRA_ENV_USBTTY
>>
> 
> What I mean is the extra enviroment variable and config's
> are dependent on USBD.  It usb is not configured, these are
> not needed.
> 
USBD is always configured. 
That's why this feature may be desirable

> Tom
> 
> 



More information about the U-Boot mailing list