[coreboot] New patch to review for coreboot: 979a6a3 libpayload: fix compile error with enabled USB_DEBUG

Mathias Krause (mathias.krause@secunet.com) gerrit at coreboot.org
Fri Feb 17 13:30:43 CET 2012

Mathias Krause (mathias.krause at secunet.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/653


commit 979a6a3099ff7b4498e098c1ab9df6508b0e8087
Author: Mathias Krause <mathias.krause at secunet.com>
Date:   Fri Feb 17 12:23:26 2012 +0100

    libpayload: fix compile error with enabled USB_DEBUG
    Commit c4348d0 ("libpayload: Remove bitfield use from OHCI data
    structures") missed to adapt a debug message. This patch fixes this.
    Change-Id: I5f6a4be9c7f6f99cb103926772717e15a3cbca70
    Signed-off-by: Mathias Krause <mathias.krause at secunet.com>
 payloads/libpayload/drivers/usb/ohci.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/payloads/libpayload/drivers/usb/ohci.c b/payloads/libpayload/drivers/usb/ohci.c
index 4095d69..92cbf1c 100644
--- a/payloads/libpayload/drivers/usb/ohci.c
+++ b/payloads/libpayload/drivers/usb/ohci.c
@@ -190,7 +190,7 @@ dump_td(td_t *cur, int level)
 	const char *spc=spaces+(10-level);
 	debug("%std at %x (%s), condition code: %s\n", spc, cur, direction[(cur->config & TD_DIRECTION_MASK) >> TD_DIRECTION_SHIFT],
 		completion_codes[(cur->config & TD_CC_MASK) >> TD_CC_SHIFT]);
-	debug("%s toggle: %x\n", spc, cur->toggle);
+	debug("%s toggle: %x\n", spc, cur->config & TD_TOGGLE_DATA1 ? 1 : 0);

More information about the coreboot mailing list