[U-Boot] [PATCH resend] usbh/ehci: Increase timeout for enumeration

Marek Vasut marex at denx.de
Thu Dec 6 18:36:24 CET 2012


Dear Vipin Kumar,

> Few pen drives take longer than usual for enumeration. The u-boot unlike
> linux does not depend on interrupts and works in polling and timeout mode.

Good, can you maybe poll the register instead of adding arbitrary delay which 
will cause trouble to everyone even if they never ever use such broken hardware?

Besides, I fail to understand the logic in this patch. The commit message 
doesn't explain it at all.

> This patch increases this timeout to increase the set of usb sticks that
> can be enumerated by u-boot
> 
> Signed-off-by: Vipin Kumar <vipin.kumar at st.com>
[..]

Best regards,
Marek Vasut


More information about the U-Boot mailing list