diff options
author | Patrick Georgi <pgeorgi@google.com> | 2015-10-26 19:48:25 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-11-05 17:39:52 +0100 |
commit | b791799d9a9936ab43143e5335f5200fa56db768 (patch) | |
tree | fd42b30f0a09d156dc45a81f9dc2128ffc631b71 /payloads/libpayload/drivers/udc/dwc2.c | |
parent | 0dd72e8b1db78558ef148a5d67a2d12e73c36b94 (diff) | |
download | coreboot-b791799d9a9936ab43143e5335f5200fa56db768.tar.xz |
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>
Reviewed-on: http://review.coreboot.org/12258
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'payloads/libpayload/drivers/udc/dwc2.c')
-rw-r--r-- | payloads/libpayload/drivers/udc/dwc2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/drivers/udc/dwc2.c b/payloads/libpayload/drivers/udc/dwc2.c index b38a0de2f6..03691e79c6 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; |