[U-Boot] [PATCH 1/1] USB: EHCI: Initialize multiple USB controllers at once

Marek Vasut marek.vasut at gmail.com
Mon Jul 30 14:02:13 CEST 2012


Dear Jim Lin,

> >-----Original Message-----
> >From: Marek Vasut [mailto:marek.vasut at gmail.com]
> >Sent: Friday, July 27, 2012 5:26 PM
> >To: u-boot at lists.denx.de
> >Cc: Jim Lin; Wolfgang Denk; Tom Warren
> >Subject: Re: [U-Boot] [PATCH 1/1] USB: EHCI: Initialize multiple USB
> >controllers at once
> >
> >> Wolfgang,
> >> Is there any chance to get this feature in after Stephen explained to
> >> you?
> >
> >I'll poke into it. Can we not get rid of the added ifdef, eg. by setting
> >up the controller number to 1 for those that don't define
> >CONFIG_USB_MULTI now (everyone)
> 
> I assume you want me to add these in next patch.
> 1 . Use CONFIG_USB_MULTI, instead of CONFIG_USB_INIT_MULTI
>  (current patch),
> 2. If CONFIG_USB_MULTI is not defined, then define
> CONFIG_USB_MAX_CONTROLLER_COUNT as 1.

Yes, is that a problem? Aka. have this always enabled and don't treat not having 
multiple controllers as a special case.

> > and adding some wrapping goo?
> 
> Don't understand what you meant.
> Could you provide an example?

Just don't treat having 1 controller as a special case, that's all I meant.

> Thanks.
> 
> nvpublic

Best regards,
Marek Vasut


More information about the U-Boot mailing list