[SeaBIOS] [PATCH] EHCI: increase CONNECT detection delay
Sven Schnelle
svens at stackframe.org
Sun Jul 29 21:51:14 CEST 2012
1ms seems to short on my chromebook, increasing that
to 5ms makes EHCI work.
Signed-off-by: Sven Schnelle <svens at stackframe.org>
---
src/usb-ehci.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/usb-ehci.c b/src/usb-ehci.c
index 3c0be13..b53caa1 100644
--- a/src/usb-ehci.c
+++ b/src/usb-ehci.c
@@ -82,7 +82,7 @@ ehci_hub_detect(struct usbhub_s *hub, u32 port)
writel(portreg, portsc);
msleep(EHCI_TIME_POSTPOWER);
} else {
- msleep(1); // XXX - time for connect to be detected.
+ msleep(5); // XXX - time for connect to be detected.
}
portsc = readl(portreg);
--
1.7.10.4
More information about the SeaBIOS
mailing list