Patrick Georgi (pgeorgi@google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/12258
-gerrit
commit 3691b1340b29a2a18a8fe6191cb3c411ae7cb000 Author: Patrick Georgi pgeorgi@google.com Date: Mon Oct 26 19:48:25 2015 +0100
libpayload: Fix building dwc2 UDC driver with debug enabled
hexdump() now takes a pointer instead of an int-containing-an-address.
BUG=none BRANCH=none TEST=building with USB_DEBUG works
Change-Id: Idd0c43031a212c8f3b6489f533c488805d98d6a9 Signed-off-by: Patrick Georgi pgeorgi@chromium.org Original-Commit-Id: 8660f6091bb124eeabe73302e8c7f1a8e46324f1 Original-Change-Id: I266efcb8b939d6da104ad05a3e79a78065c60beb Original-Signed-off-by: Patrick Georgi pgeorgi@google.com Original-Reviewed-on: https://chromium-review.googlesource.com/308762 Original-Commit-Ready: Patrick Georgi pgeorgi@chromium.org Original-Tested-by: Patrick Georgi pgeorgi@chromium.org Original-Reviewed-by: Furquan Shaikh furquan@chromium.org Original-Reviewed-by: yunzhi li lyz@rock-chips.com --- payloads/libpayload/drivers/udc/dwc2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/payloads/libpayload/drivers/udc/dwc2.c b/payloads/libpayload/drivers/udc/dwc2.c index b38a0de..03691e7 100644 --- a/payloads/libpayload/drivers/udc/dwc2.c +++ b/payloads/libpayload/drivers/udc/dwc2.c @@ -563,7 +563,7 @@ static void dwc2_outep_intr(struct usbdev_ctrl *this, dwc2_ep_t *ep) usb_debug("DEPINT_SETUP\n"); writel(DXEPINT_SETUP, &ep->ep_regs->depint); #ifdef USB_DEBUG - hexdump((unsigned int)p->setup_buf, sizeof(dev_req_t)); + hexdump(p->setup_buf, sizeof(dev_req_t)); #endif SIMPLEQ_REMOVE_HEAD(&p->eps[0][0].job_queue, queue); p->eps[0][0].busy = 0;