[U-Boot] [PATCH] usb: ehci: Fix test mode for connected ports

Julius Werner jwerner at chromium.org
Wed Sep 18 19:16:54 CEST 2013


> Why 8 * 1000? It's not clear.

I am not quite sure to be honest... it's been a while since I actually
wrote this patch. The EHCI spec gives no clear max for the
Periodic/Async Schedule disable (I assume not more than a frame,
though), and says the Run/Stop bit must halt within 16 microframes
(which would be 4.125ms). I guess 8 looked like a safe and not too
large value that still makes the line fit on 80 characters (and it's
not like most of the other timeouts in that file have a clear origin,
so it's in good company). What do you want me to change it to?


More information about the U-Boot mailing list