
2 Apr
2013
2 Apr
'13
6:55 a.m.
Hi,
On Tue, Apr 2, 2013 at 1:43 AM, Tom Rini trini@ti.com wrote:
On Wed, Mar 27, 2013 at 02:59:00PM +0530, Vivek Gautam wrote:
Patch b6d7852c increases timeout for enumeration, taking worst case to be 10 sec. get_timer() api returns timestamp in micro-seconds, which is what we are checking in the do-while() loop in usb_hub_configure() (get_timer(start) < CONFIG_SYS_HZ * 10). This should give us a required check for 10 seconds, and thereby we don't need to add additional mdelay of 100 microseconds in each cycle.
The wording here is not correct. get_timer operates in milliseconds not microseconds.
Oops!! Yes of course, my mistake. Thanks
-- Tom
U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
--
Thanks & Regards
Vivek