On 30 April 2015 at 08:35, Hans de Goede <hdego...@redhat.com> wrote: > Without this usb-1 device descriptors do not get read properly. > > Signed-off-by: Hans de Goede <hdego...@redhat.com> > --- > drivers/usb/host/ehci-hcd.c | 3 +++ > 1 file changed, 3 insertions(+)
Acked-by: Simon Glass <s...@chromium.org> > > diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c > index 00c038c..9fc1e33 100644 > --- a/drivers/usb/host/ehci-hcd.c > +++ b/drivers/usb/host/ehci-hcd.c > @@ -1547,12 +1547,15 @@ int ehci_register(struct udevice *dev, struct > ehci_hccr *hccr, > struct ehci_hcor *hcor, const struct ehci_ops *ops, > uint tweaks, enum usb_init_type init) > { > + struct usb_bus_priv *priv = dev_get_uclass_priv(dev); > struct ehci_ctrl *ctrl = dev_get_priv(dev); > int ret; > > debug("%s: dev='%s', ctrl=%p, hccr=%p, hcor=%p, init=%d\n", __func__, > dev->name, ctrl, hccr, hcor, init); > > + priv->desc_before_addr = true; > + > ehci_setup_ops(ctrl, ops); > ctrl->hccr = hccr; > ctrl->hcor = hcor; > -- > 2.3.6 > _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot