summaryrefslogtreecommitdiff
path: root/payloads/libpayload/drivers/usb
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@secunet.com>2011-11-04 11:57:46 +0100
committerStefan Reinauer <stefan.reinauer@coreboot.org>2011-11-04 22:13:39 +0100
commit01178bb03b1ae9bf51962ad03f8f73929a48e4b2 (patch)
tree0a923772d7920f21b0cf84b52a835a20738f99b4 /payloads/libpayload/drivers/usb
parent2e768e7f171514924c3b206b7f3fbe6bf20c1c71 (diff)
downloadcoreboot-01178bb03b1ae9bf51962ad03f8f73929a48e4b2.tar.xz
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@secunet.com> Reviewed-on: http://review.coreboot.org/396 Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Tested-by: build bot (Jenkins)
Diffstat (limited to 'payloads/libpayload/drivers/usb')
-rw-r--r--payloads/libpayload/drivers/usb/ehci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/drivers/usb/ehci.c b/payloads/libpayload/drivers/usb/ehci.c
index b1ccb0bf2f..71fbd7aed7 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 };