summaryrefslogtreecommitdiff
path: root/payloads/libpayload/drivers
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2015-11-04 16:11:38 -0800
committerPatrick Georgi <pgeorgi@google.com>2015-11-10 14:10:39 +0100
commitbf54c2cc5c58fc5de082f8a94fb11cc3998e4d15 (patch)
tree5b42c64d6d974430a44f5274fd0eb2b752f60dd4 /payloads/libpayload/drivers
parent3d6c95c1cd8fa275d3e51e417ecbe0fef3562a7e (diff)
libpayload/udc: dwc2: Add handler for add_strings
BUG=b:24676003 BRANCH=None TEST=Compiles successfully. fastboot devices shows serial number for shark. Change-Id: I61d6c168fa458d1f880bc566db997aa5d6398361 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: 45b286b318281aea9a4b0362c9259d748b66fd28 Original-Change-Id: Ib9cc22de9daa6c5ec9cde1e62c6f5f768e946069 Original-Signed-off-by: Furquan Shaikh <furquan@google.com> Original-Reviewed-on: https://chromium-review.googlesource.com/310984 Original-Commit-Ready: Furquan Shaikh <furquan@chromium.org> Original-Tested-by: Furquan Shaikh <furquan@chromium.org> Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/12348 Reviewed-by: Furquan Shaikh <furquan@google.com> Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'payloads/libpayload/drivers')
-rw-r--r--payloads/libpayload/drivers/udc/dwc2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/payloads/libpayload/drivers/udc/dwc2.c b/payloads/libpayload/drivers/udc/dwc2.c
index 3c9b1576c2..dc9eb7c3f5 100644
--- a/payloads/libpayload/drivers/udc/dwc2.c
+++ b/payloads/libpayload/drivers/udc/dwc2.c
@@ -920,6 +920,7 @@ struct usbdev_ctrl *dwc2_udc_init(device_descriptor_t *dd)
ctrl->poll = dwc2_check_irq;
ctrl->add_gadget = udc_add_gadget;
+ ctrl->add_strings = udc_add_strings;
ctrl->enqueue_packet = dwc2_enqueue_packet;
ctrl->force_shutdown = dwc2_force_shutdown;
ctrl->shutdown = dwc2_shutdown;