diff options
author | Gabe Black <gabeblack@google.com> | 2012-10-31 15:55:16 -0700 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2012-11-07 18:38:31 +0100 |
commit | 8670b9b81aba6bf51510e337d4f7208d2b4ea320 (patch) | |
tree | c4e46122496168828bd9ccc59bd2e8710c34c570 /util | |
parent | 1b33c31cf30ab250f598ed4b3fc4e3cea4c89071 (diff) | |
download | coreboot-8670b9b81aba6bf51510e337d4f7208d2b4ea320.tar.xz |
libpayload: Take usb_poll out of usb_initialize.
While it might be slightly more convenient to not have to call usb_poll
manually after calling usb_initialize, you'll still likely want to call it
before trying to use a USB device since one have have been hotplugged since
you last looked. By not calling usb_poll, usb_initialize completes quickly and
can be called unconditionally without a long delay. The delay can be put off
until later when we're sure it's necessary.
Change-Id: Ib8b1bdea996702c42d1b7021f492d9f8e174d304
Signed-off-by: Gabe Black <gabeblack@google.com>
Reviewed-on: http://review.coreboot.org/1737
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Tested-by: build bot (Jenkins)
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions