[U-Boot] powerpc/85xx: usb: Limit controllers initialized by usb_init()

Marek Vasut marex at denx.de
Tue Jun 14 14:13:38 CEST 2016


On 06/14/2016 07:40 AM, Matthew Bright wrote:
> Hi,

Hi,

> I am looking for a way to limit which usb host interfaces are initiali-
> zed by usb_init() in order to skip unused interfaces. This is currently 
> governed CONFIG_USB_MAX_CONTROLLER_COUNT, which is possible to redefine 
> at the board level. However this doesn't cover more complex cases where
> a SoC has multiple host interfaces but a board using that SoC only uses
> a subset that is not necessarily contiguous.
> 
> Does there currently exist a way to define such behavior, or should the 
> functionality be added to usb_init() to support this?

The driver model should allow you to do exactly that, though I don't
know if it's supposed on the MPC85xx .

> Thanks.
> Matthew Bright
> 
> 


-- 
Best regards,
Marek Vasut


More information about the U-Boot mailing list