summaryrefslogtreecommitdiff
path: root/common/env_nvram.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2015-01-11 20:34:49 +0100
committerMarek Vasut <marex@denx.de>2015-01-18 12:31:36 +0100
commitdc9a3912709e901eb8e513492fdad9743535b86f (patch)
treecb0edca10e828d872ebc5730f8a1896b75a0f819 /common/env_nvram.c
parent28a15ef7fd7d97f0634440866c6b7baa7708b5eb (diff)
downloadu-boot-imx-dc9a3912709e901eb8e513492fdad9743535b86f.zip
u-boot-imx-dc9a3912709e901eb8e513492fdad9743535b86f.tar.gz
u-boot-imx-dc9a3912709e901eb8e513492fdad9743535b86f.tar.bz2
musb-new: Use time based timeouts rather then cpu-cycles based timeouts
CPU cycle based timeouts are no good, because how long they use depends on CPU speed. Instead use time based timeouts, and wait one second for a device connection to show up (per the USB spec), and wait USB_TIMEOUT_MS for various urbs to complete. This fixes "usb start" taking for ever when no device is plugged into the otg port. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'common/env_nvram.c')
0 files changed, 0 insertions, 0 deletions