From 3e0bd190262ce9ffe9653583e5ca9af0f63850f1 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Tue, 31 Jan 2012 14:37:59 +0100 Subject: libpayload: Fix EHCI driver When converting EHCI to not use bitfields, two offsets were converted incorrectly. Change-Id: I0bb4bad0eee42e54ad4fd53d6c35b107e227c41a Signed-off-by: Patrick Georgi Reviewed-on: http://review.coreboot.org/593 Reviewed-by: Ronald G. Minnich Tested-by: build bot (Jenkins) Reviewed-by: Marc Jones --- payloads/libpayload/drivers/usb/ehci_private.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'payloads/libpayload') 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 -- cgit v1.2.3