summaryrefslogtreecommitdiff
path: root/payloads/libpayload/Makefile
diff options
context:
space:
mode:
authorShawn Nematbakhsh <shawnn@chromium.org>2013-09-12 18:09:39 -0700
committerIsaac Christensen <isaac.christensen@se-eng.com>2014-08-14 21:16:59 +0200
commit7ecc912b32f3fa1f94c1aadaba275ddb3d5efac5 (patch)
tree4724209875557bd64398a18d0be32ac29ee451a8 /payloads/libpayload/Makefile
parent6ada053709f24675bda1b3598e86426a712d63f9 (diff)
libpayload: Increase accuracy of timeout period for media init.
When bringing up media, we claim to wait for up to 30 seconds for a device to respond to our TEST_UNIT_READY command. Actually, we can wait far longer because we do not take into account execution delay. To improve timeout accuracy, make use of gettimeofday(), which calculates time based upon a CPU counter. This improves the user experience slightly when certain non-working USB devices are used. Change-Id: Id9605ecfc0a522d7a0b039fd8eac541232605082 Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/169208 Reviewed-by: Julius Werner <jwerner@chromium.org> (cherry picked from commit 1d3d535db83ff478c512e37f37015b43927b3efc) Signed-off-by: Isaac Christensen <isaac.christensen@se-eng.com> Reviewed-on: http://review.coreboot.org/6646 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'payloads/libpayload/Makefile')
0 files changed, 0 insertions, 0 deletions