[coreboot] Patch merged into coreboot/master: 1b33c31 libpayload: Make usb_initialize more efficient and fix style problems.

gerrit at coreboot.org gerrit at coreboot.org
Wed Nov 7 18:38:16 CET 2012


the following patch was just integrated into master:
commit 1b33c31cf30ab250f598ed4b3fc4e3cea4c89071
Author: Gabe Black <gabeblack at google.com>
Date:   Mon Oct 8 01:58:37 2012 -0700

    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 at google.com>
    Reviewed-on: http://review.coreboot.org/1736
    Reviewed-by: Patrick Georgi <patrick at georgi-clan.de>
    Tested-by: build bot (Jenkins)

Reviewed-By: Patrick Georgi <patrick at georgi-clan.de> at Wed Nov  7 08:34:37 2012, giving +2
Build-Tested: build bot (Jenkins) at Wed Nov  7 17:04:03 2012, giving +1
See http://review.coreboot.org/1736 for details.

-gerrit




More information about the coreboot mailing list