summaryrefslogtreecommitdiff
path: root/payloads/libpayload/drivers/usb
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@secunet.com>2012-01-31 14:37:59 +0100
committerMarc Jones <marcj303@gmail.com>2012-02-07 00:16:12 +0100
commit3e0bd190262ce9ffe9653583e5ca9af0f63850f1 (patch)
tree5871b0893934233555d28b045df0634f35688786 /payloads/libpayload/drivers/usb
parentc0a6c6b3b946f13f331ad2c2a3ab941cde628098 (diff)
libpayload: Fix EHCI driver
When converting EHCI to not use bitfields, two offsets were converted incorrectly. Change-Id: I0bb4bad0eee42e54ad4fd53d6c35b107e227c41a Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com> Reviewed-on: http://review.coreboot.org/593 Reviewed-by: Ronald G. Minnich <rminnich@gmail.com> Tested-by: build bot (Jenkins) Reviewed-by: Marc Jones <marcj303@gmail.com>
Diffstat (limited to 'payloads/libpayload/drivers/usb')
-rw-r--r--payloads/libpayload/drivers/usb/ehci_private.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/payloads/libpayload/drivers/usb/ehci_private.h b/payloads/libpayload/drivers/usb/ehci_private.h
index 22fd7b222c..6fa5f0344d 100644
--- a/payloads/libpayload/drivers/usb/ehci_private.h
+++ b/payloads/libpayload/drivers/usb/ehci_private.h
@@ -81,8 +81,8 @@ typedef volatile struct {
u32 alt_next_qtd;
u32 token;
#define QTD_STATUS_MASK 0xff
-#define QTD_HALTED (1 << 14)
-#define QTD_ACTIVE (1 << 15)
+#define QTD_HALTED (1 << 6)
+#define QTD_ACTIVE (1 << 7)
#define QTD_PID_SHIFT 8
#define QTD_PID_MASK (3 << QTD_PID_SHIFT)
#define QTD_CERR_SHIFT 10