coreboot-kgpe-d16/payloads/libpayload/drivers/usb
Julius Werner e00ba2168b libpayload: usb: Unify USB speed between XHCI stack and USB core
This patch removes the confusing concept of a special "xhci_speed" with
a different numeric value from the usual speed used throughout the USB
core (except for the places directly interacting with the xHC, which are
explicitly marked). It also moves the MPS0 decoding function into the
core and moves some definitions around in preparation of later changes
that will make the stack SuperSpeed-ready. It makes both set_address
implementations share a constant for the specification-defined
SetAddress() recovery delay and removes pointless additional delays from
the non-XHCI version.

Change-Id: I422379d05d4a502b12dae183504e5231add5466a
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/170664
Reviewed-by: Stefan Reinauer <reinauer@google.com>
Commit-Queue: Ronald Minnich <rminnich@chromium.org>
(cherry picked from commit f160d4439c0d7cea1d2e6b97207935d61dcbb2f2)
Signed-off-by: Isaac Christensen <isaac.christensen@se-eng.com>
Reviewed-on: http://review.coreboot.org/6776
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2014-09-04 01:28:42 +02:00
..
TODO Since some people disapprove of white space cleanups mixed in regular commits 2010-04-27 06:56:47 +00:00
ehci.c libpayload: Make EHCI driver cache-aware 2014-08-14 23:40:25 +02:00
ehci.h libpayload: Use unsigned long for BARs in *hci_init() 2014-07-10 20:55:41 +02:00
ehci_private.h libpayload: Make EHCI driver cache-aware 2014-08-14 23:40:25 +02:00
ehci_rh.c libpayload: Add USB support for non-PCI controllers 2013-11-25 23:31:52 +01:00
generic_hub.c libpayload: usb: Unify USB speed between XHCI stack and USB core 2014-09-04 01:28:42 +02:00
generic_hub.h libpayload: usb: Unify USB speed between XHCI stack and USB core 2014-09-04 01:28:42 +02:00
ohci.c libpayload: Make USB transfer functions return amount of bytes 2014-08-12 22:03:28 +02:00
ohci.h libpayload: Use unsigned long for BARs in *hci_init() 2014-07-10 20:55:41 +02:00
ohci_private.h libpayload: Add USB support for non-PCI controllers 2013-11-25 23:31:52 +01:00
ohci_rh.c libpayload: usb: Unify USB speed between XHCI stack and USB core 2014-09-04 01:28:42 +02:00
quirks.c libpayload: Turn the "debug" #define into the usb_debug static inline function. 2012-11-07 18:38:37 +01:00
uhci.c libpayload: Make USB transfer functions return amount of bytes 2014-08-12 22:03:28 +02:00
uhci.h libpayload: Add USB support for non-PCI controllers 2013-11-25 23:31:52 +01:00
uhci_private.h libpayload: Remove bitfield use from UHCI data structures 2012-01-10 00:02:54 +01:00
uhci_rh.c libpayload: usb: Unify USB speed between XHCI stack and USB core 2014-09-04 01:28:42 +02:00
usb.c libpayload: usb: Unify USB speed between XHCI stack and USB core 2014-09-04 01:28:42 +02:00
usb_dev.c Fix the USB code to find the headers after they were moved. 2008-09-11 17:29:00 +00:00
usbhid.c libpayload: usb: Fix several minor USB stack bugs 2014-08-19 23:31:05 +02:00
usbhub.c libpayload: usb: Unify USB speed between XHCI stack and USB core 2014-09-04 01:28:42 +02:00
usbinit.c libpayload: usb: Allow direct instantiation of MMIO host controllers 2014-08-28 00:09:32 +02:00
usbmsc.c libpayload: usb: Fix several minor USB stack bugs 2014-08-19 23:31:05 +02:00
xhci.c libpayload: xhci: Ensure to reset dequeue pointer on stopped endpoints 2014-08-31 23:49:54 +02:00
xhci.h libpayload: Use unsigned long for BARs in *hci_init() 2014-07-10 20:55:41 +02:00
xhci_commands.c libpayload: xhci: Make XHCI stack usable on ARM 2014-08-14 23:41:21 +02:00
xhci_debug.c libpayload: xhci: Make XHCI stack usable on ARM 2014-08-14 23:41:21 +02:00
xhci_devconf.c libpayload: usb: Unify USB speed between XHCI stack and USB core 2014-09-04 01:28:42 +02:00
xhci_events.c libpayload: xhci: Make XHCI stack usable on ARM 2014-08-14 23:41:21 +02:00
xhci_private.h libpayload: usb: Unify USB speed between XHCI stack and USB core 2014-09-04 01:28:42 +02:00
xhci_rh.c libpayload: usb: Unify USB speed between XHCI stack and USB core 2014-09-04 01:28:42 +02:00