[coreboot] New patch to review for coreboot: 30ce4bb libpayload: Tell EHCI to re-enable USB1 controllers

Patrick Georgi (patrick@georgi-clan.de) gerrit at coreboot.org
Fri Nov 4 12:37:25 CET 2011


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

-gerrit

commit 30ce4bb498a57324f205fc410ed30e4dfba95d3e
Author: Patrick Georgi <patrick.georgi at secunet.com>
Date:   Fri Nov 4 11:57:46 2011 +0100

    libpayload: Tell EHCI to re-enable USB1 controllers
    
    EHCI can take over all ports (and then reroute devices to
    companion controllers if needs be). We do that, and then never
    reset it.
    
    Consequence:
    Systems with only USB1 HC drivers (OHCI/UHCI) never see any devices.
    
    Change-Id: If1d91e9142a6618289b0b3f6b56587ec857158e3
    Signed-off-by: Patrick Georgi <patrick.georgi at secunet.com>
---
 payloads/libpayload/drivers/usb/ehci.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/payloads/libpayload/drivers/usb/ehci.c b/payloads/libpayload/drivers/usb/ehci.c
index 92e4911..e20bacd 100644
--- a/payloads/libpayload/drivers/usb/ehci.c
+++ b/payloads/libpayload/drivers/usb/ehci.c
@@ -56,7 +56,7 @@ static void ehci_reset (hci_t *controller)
 
 static void ehci_shutdown (hci_t *controller)
 {
-
+	EHCI_INST(controller)->operation->configflag = 0;
 }
 
 enum { EHCI_OUT=0, EHCI_IN=1, EHCI_SETUP=2 };




More information about the coreboot mailing list