public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] powerpc/85xx: usb: Limit controllers initialized by usb_init()
@ 2016-06-14  5:40 Matthew Bright
  2016-06-14 12:13 ` Marek Vasut
  0 siblings, 1 reply; 2+ messages in thread
From: Matthew Bright @ 2016-06-14  5:40 UTC (permalink / raw)
  To: u-boot

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?

Thanks.
Matthew Bright

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [U-Boot] powerpc/85xx: usb: Limit controllers initialized by usb_init()
  2016-06-14  5:40 [U-Boot] powerpc/85xx: usb: Limit controllers initialized by usb_init() Matthew Bright
@ 2016-06-14 12:13 ` Marek Vasut
  0 siblings, 0 replies; 2+ messages in thread
From: Marek Vasut @ 2016-06-14 12:13 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-06-14 12:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-14  5:40 [U-Boot] powerpc/85xx: usb: Limit controllers initialized by usb_init() Matthew Bright
2016-06-14 12:13 ` Marek Vasut

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox