diff options
author | Patrick Georgi <pgeorgi@google.com> | 2015-01-26 20:17:49 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-04-18 08:40:19 +0200 |
commit | 1bd3050c27508036576c1f34ca500a6b4bccbda0 (patch) | |
tree | 85966013d5bf40a82ba2b6aea8eb1d7c375b6f9d /payloads/libpayload/drivers/Makefile.inc | |
parent | 2df124db36ab7a456fa301e7334cd4fe894cb86a (diff) | |
download | coreboot-1bd3050c27508036576c1f34ca500a6b4bccbda0.tar.xz |
libpayload: Add USB device mode driver
Add a framework for USB device mode controllers
and a driver for the ChipIdea controller which
is part of the tegra platform.
TODO:
- fix USB detach/attach
- implement zero length packet handling properly
BUG=chrome-os-partner:35861
TEST=none
BRANCH=none
Change-Id: I8defeea78b5a3bdbf9c1b1222c2702eaf3256b81
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 542332291880c4026a05a960ceb91d37891ee018
Original-Change-Id: Ib4068d201dd63ebeda80157bd3130f3059919cdd
Original-Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/243272
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/8756
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'payloads/libpayload/drivers/Makefile.inc')
-rw-r--r-- | payloads/libpayload/drivers/Makefile.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/payloads/libpayload/drivers/Makefile.inc b/payloads/libpayload/drivers/Makefile.inc index 007395788f..b5f6c16e22 100644 --- a/payloads/libpayload/drivers/Makefile.inc +++ b/payloads/libpayload/drivers/Makefile.inc @@ -105,5 +105,9 @@ libc-$(CONFIG_LP_USB_MSC) += usb/usbmsc.c libc-$(CONFIG_LP_USB_DWC2) += usb/dwc2.c libc-$(CONFIG_LP_USB_DWC2) += usb/dwc2_rh.c +# USB device stack +libc-$(CONFIG_LP_UDC) += udc/udc.c +libc-$(CONFIG_LP_UDC_CI) += udc/chipidea.c + # used by both USB HID and keyboard libc-y += hid.c |