aboutsummaryrefslogtreecommitdiff
path: root/util/getpir
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2012-10-08 01:58:37 -0700
committerStefan Reinauer <stefan.reinauer@coreboot.org>2012-11-07 18:38:15 +0100
commit1b33c31cf30ab250f598ed4b3fc4e3cea4c89071 (patch)
tree43df95f68c5392be62e6d3ab1512a9bfd108d882 /util/getpir
parent78e15a31f2fd7dedf36898790c2fe3fdc03d287b (diff)
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)
Diffstat (limited to 'util/getpir')
0 files changed, 0 insertions, 0 deletions