[coreboot] New patch to review for coreboot: 595df77 libpayload: Force checking all EHCI ports on power-on

Patrick Georgi (patrick@georgi-clan.de) gerrit at coreboot.org
Tue Jan 31 14:52:21 CET 2012

Patrick Georgi (patrick at georgi-clan.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/594


commit 595df777bfaf2fc07a394233a6e770737b78806e
Author: Patrick Georgi <patrick.georgi at secunet.com>
Date:   Tue Jan 31 14:42:47 2012 +0100

    libpayload: Force checking all EHCI ports on power-on
    EHCI port status reporting isn't very consistent on power-on,
    so just looking for devices on all ports is the safest way to
    find everything.
    Change-Id: I26b4305016f0bed1d2c1b5cffc59d5813fa1cbbb
    Signed-off-by: Patrick Georgi <patrick.georgi at secunet.com>
 payloads/libpayload/drivers/usb/ehci_rh.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/payloads/libpayload/drivers/usb/ehci_rh.c b/payloads/libpayload/drivers/usb/ehci_rh.c
index d9ba8e4..1d41f3f 100644
--- a/payloads/libpayload/drivers/usb/ehci_rh.c
+++ b/payloads/libpayload/drivers/usb/ehci_rh.c
@@ -147,6 +147,7 @@ ehci_rh_init (usbdev_t *dev)
 		p = &(RH_INST(dev)->ports[i]);
 		RH_INST(dev)->devices[i] = -1;
 		*p |= P_PP;
+		ehci_rh_scanport(dev, i);
 	dev->address = 0;

More information about the coreboot mailing list