[U-Boot] [PATCH] ARM: tegra: enable USB device mode port on Dalmore

Stephen Warren swarren at wwwdotorg.org
Mon Feb 15 03:29:27 CET 2016


On 02/14/2016 06:18 PM, Simon Glass wrote:
> Hi Stephen,
> 
> On 11 February 2016 at 09:19, Stephen Warren <swarren at wwwdotorg.org> wrote:
>> From: Stephen Warren <swarren at nvidia.com>
>>
>> This allows U-Boot to expose UMS and DFU protocols on this port in device
>> mode, or to act as a USB host on the port, using an "OTG" (micro-B to
>> female A host) cable.

>> diff --git a/include/configs/dalmore.h b/include/configs/dalmore.h

>> +#define CONFIG_USB_MAX_CONTROLLER_COUNT        2
> 
> This shouldn't be needed with driver model (CONFIG_DM_USB). What
> effect does it have?

It might have no effect. However, I added it to keep the content of all
Tegra config headers identical (at least those that enable USB device
mode w.r.t. this line). Perhaps this line should be removed from all the
other headers too?


More information about the U-Boot mailing list