coreboot-kgpe-d16/payloads/libpayload/drivers/usb
Stefan Reinauer 441a4baf87 libpayload (EHCI): correctly align PORTSC
Two structures in the USB EHCI stack were pointing
to hardware but not marked attribute((packed)) hence
leaving it to GCC to correctly align the data structures.

Next, the number of reserved bytes in hc_op_t was wrong
(but implicitly aligned to the correct values on x86)

It seems this worked fine on x86, but on ARM it was doing
the wrong thing.

Signed-off-by: Stefan Reinauer <reinauer@google.com>

Change-Id: I94bed4850ded7d3f7bbc7ff3079c103c6054c22d
Reviewed-on: https://gerrit.chromium.org/gerrit/55555
Commit-Queue: Stefan Reinauer <reinauer@google.com>
Reviewed-by: Stefan Reinauer <reinauer@google.com>
Tested-by: Stefan Reinauer <reinauer@google.com>
Reviewed-on: http://review.coreboot.org/4174
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
2013-11-25 23:31:34 +01:00
..
TODO
ehci.c libpayload: Redirect USB slave init through controller driver 2013-06-13 22:16:27 +02:00
ehci.h
ehci_private.h libpayload (EHCI): correctly align PORTSC 2013-11-25 23:31:34 +01:00
ehci_rh.c libpayload: Use usb_debug() to show USB messages 2012-12-18 19:59:22 +01:00
generic_hub.c libpayload: Add a generic driver for usb hubs 2013-06-13 22:17:42 +02:00
generic_hub.h libpayload: Add a generic driver for usb hubs 2013-06-13 22:17:42 +02:00
ohci.c libpayload: Redirect USB slave init through controller driver 2013-06-13 22:16:27 +02:00
ohci.h
ohci_private.h
ohci_rh.c libpayload: Rework connection state detection for OHCI 2012-11-24 08:46:34 +01: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: Redirect USB slave init through controller driver 2013-06-13 22:16:27 +02:00
uhci.h
uhci_private.h
uhci_rh.c libpayload: Turn the "debug" #define into the usb_debug static inline function. 2012-11-07 18:38:37 +01:00
usb.c libpayload: usb: Add interval attribute to endpoints 2013-06-13 22:16:39 +02:00
usb_dev.c
usbhid.c libpayload: Make keycode constants available outside of curses.h. 2013-03-18 20:45:48 +01:00
usbhub.c libpayload: Port usb hub driver to use the generic code 2013-06-13 22:18:49 +02:00
usbinit.c libpayload: Handle multifunction bridge devices better. 2013-04-08 20:27:46 +02:00
usbmsc.c libpayload: In the USBMSC read_capacity function, make buf an array of u32. 2013-03-12 23:56:16 +01:00
xhci.c libpayload: Switch xHCI shared ports back to EHCI on shutdown 2013-09-30 10:42:53 +02:00
xhci.h
xhci_commands.c libpayload: Fill gaps in the xHCI driver 2013-06-13 22:21:20 +02:00
xhci_debug.c libpayload: Fill gaps in the xHCI driver 2013-06-13 22:21:20 +02:00
xhci_devconf.c libpayload: Fill gaps in the xHCI driver 2013-06-13 22:21:20 +02:00
xhci_events.c libpayload: Fill gaps in the xHCI driver 2013-06-13 22:21:20 +02:00
xhci_private.h libpayload: Fill gaps in the xHCI driver 2013-06-13 22:21:20 +02:00
xhci_rh.c libpayload: Fill gaps in the xHCI driver 2013-06-13 22:21:20 +02:00