[U-Boot] [PATCH v3 0/4] USB multi controller

Stephen Warren
2012-09-05T23:48:36Z

On 09/05/2012 05:12 PM, Lucas Stach wrote:
> V3: Stephen ran into some problems applying this, as it seems my tree
> wasn't as clean as it should have been. Sorry for the inconvenience.
> This should now be fixed.
>
> Hi all,
>
> this is a follow up on the patch "USB: EHCI: Initialize multiple
> USB controllers at once" from Jim Lin. It takes some of the
> code but has undergone some heavy reworking.
>
> When we remove the ifdef horror from the above mentioned patch it's
> mostly a big interface change to the usb subsystem. As this creates
> a lot of churn I've split this up into a series. Every patch is self
> contained so it doesn't break compiles and *should* not regress
> any functionality on it's own. At least the series is bisectable in
> case anything goes wrong. I've compile tested all the ARM configs.
>
> Both the lowlevel usb and ehci interface change are backward
> compatible, so implementations that only use one controller can
> choose to ignore the new interface. All implementations are
> updated to work with the new function prototypes.
>
> For Tegra I've included a patch to actually use the new ehci
> interface. Tom, Stephen, can I get an ACK from you for this, so
> Marek can take this through his USB tree?
>
> All patches now rebased onto u-boot-usb/master.

The series,

Tested-by: Stephen Warren <swarren@nvidia.com>

For reference, I tested on both Harmony (USB1+USB2 ULPI) and Seaboard
(really Springbank) (USB1+USB3). I applied these patches on top of
u-boot-usb/master, then merged in u-boot-tegra/next plus a few local
patches, and resolved the one minor conflict.

For the record so I can find it next time, the way to enable USB
keyboard for stdin on Springbank is: setenv stdin serial,usbkbd.

Thanks for rebasing!