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>
This commit is contained in:
Patrick Georgi 2012-01-31 14:37:59 +01:00 committed by Marc Jones
parent c0a6c6b3b9
commit 3e0bd19026
1 changed files with 2 additions and 2 deletions

View File

@ -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