libpayload: Tell EHCI to re-enable USB1 controllers
authorPatrick Georgi <patrick.georgi@secunet.com>
Fri, 4 Nov 2011 10:57:46 +0000 (11:57 +0100)
committerStefan Reinauer <stefan.reinauer@coreboot.org>
Fri, 4 Nov 2011 21:13:39 +0000 (22:13 +0100)
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@secunet.com>
Reviewed-on: http://review.coreboot.org/396
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Tested-by: build bot (Jenkins)
payloads/libpayload/drivers/usb/ehci.c

index b1ccb0bf2fdc9731d0883944115642c93f0da531..71fbd7aed7866a6da382833510c25f1c9e235e70 100644 (file)
@@ -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 };