summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVivek Gautam <gautam.vivek@samsung.com>2013-04-12 16:34:37 +0530
committerMarek Vasut <marex@denx.de>2013-05-05 23:54:22 +0200
commit289f3cb28a3916b6c4c770db9a88463884be5b6c (patch)
tree8a30df696d688fcee1017fc2ba59fce86300a7d5 /include
parent99c3491b78cc2a5e58f77da32c913f11fd16103f (diff)
downloadu-boot-imx-289f3cb28a3916b6c4c770db9a88463884be5b6c.zip
u-boot-imx-289f3cb28a3916b6c4c770db9a88463884be5b6c.tar.gz
u-boot-imx-289f3cb28a3916b6c4c770db9a88463884be5b6c.tar.bz2
usb: hub: Fix enumration timeout
Patch b6d7852c increases timeout for enumeration, taking worst case to be 10 sec. get_timer() api returns timestamp in milliseconds, 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. Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com> Reviewed-by: Vipin Kumar <vipin.kumar@st.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions