From ff3af5f6a04a973563bb8d8b7264065cb9a65ebb Mon Sep 17 00:00:00 2001 From: Harry Pan Date: Fri, 20 Mar 2015 10:38:20 +0800 Subject: libpayload: usb: fix compilation error in debug fuction Since CL:170664, all SC_SPEED_XXX renamed to SC_SPEED1_XXX. There is one missing in xhci_dump_slotctx() function which makes compilation error. BUG=none TEST=enable USB_DEBUG and XHCI_DUMPS macros in xhci_private.h; then emerge-auron libpayload Change-Id: Ib96805cb7fc1cad17b205277539fb2120632f6f4 Signed-off-by: Patrick Georgi Original-Commit-Id: 3ca0174e93ad131309ad07187c95c1e84c7d4fc5 Original-Change-Id: Id056b4684831a5717e87969e95ab17f11db29696 Original-Reviewed-on: https://chromium-review.googlesource.com/261414 Original-Reviewed-by: Hung-Te Lin Original-Reviewed-by: Julius Werner Original-Commit-Queue: Harry Pan Original-Tested-by: Harry Pan Reviewed-on: http://review.coreboot.org/9877 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- payloads/libpayload/drivers/usb/xhci_debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'payloads/libpayload') diff --git a/payloads/libpayload/drivers/usb/xhci_debug.c b/payloads/libpayload/drivers/usb/xhci_debug.c index 913b545bd9..d50f6dba30 100644 --- a/payloads/libpayload/drivers/usb/xhci_debug.c +++ b/payloads/libpayload/drivers/usb/xhci_debug.c @@ -41,7 +41,7 @@ xhci_dump_slotctx(const slotctx_t *const sc) usb_debug(" FIELD3\t0x%08"PRIx32"\n", sc->f3); usb_debug(" FIELD4\t0x%08"PRIx32"\n", sc->f4); SC_DUMP(ROUTE, sc); - SC_DUMP(SPEED, sc); + SC_DUMP(SPEED1, sc); SC_DUMP(MTT, sc); SC_DUMP(HUB, sc); SC_DUMP(CTXENT, sc); -- cgit v1.2.3