[coreboot] Patch set updated for coreboot: 2703285 libpayload: fix compile error with enabled USB_DEBUG

Mathias Krause (mathias.krause@secunet.com) gerrit at coreboot.org
Mon Feb 20 10:38:00 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

-gerrit

commit 270328581ec7881676f9d808483953026e473ff1
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..3a1b51d 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));
 #endif
 }
 




More information about the coreboot mailing list