coreboot-kgpe-d16/payloads
Gabe Black 1b33c31cf3 libpayload: Make usb_initialize more efficient and fix style problems.
The usb_initialize function would scan for USB host controllers by brute force
iterating over all possible busses, devices, and functions. This change makes
it recursively scan busses only if it finds them on the other side of a bridge,
and only scan for functions beyond function 0 if the device claims to be
multifunction.

This change also takes the opportunity to clean up some style problems
throughout the file.

Change-Id: I0f5e8b9a454a42a76d30bccca898c8e1af770b2b
Signed-off-by: Gabe Black <gabeblack@google.com>
Reviewed-on: http://review.coreboot.org/1736
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Tested-by: build bot (Jenkins)
2012-11-07 18:38:15 +01:00
..
bayou Run dos2unix on bayou and remove white space at the end of lines. 2011-10-31 21:29:31 +01:00
coreinfo coreinfo: fix build error (TRIVIAL) 2012-08-15 14:06:07 +02:00
external Update SeaBIOS stable to the release-1.7.1 commit 2012-10-16 03:31:05 +02:00
libpayload libpayload: Make usb_initialize more efficient and fix style problems. 2012-11-07 18:38:15 +01:00