diff options
author | Vincent Palatin <vpalatin@chromium.org> | 2014-11-19 14:37:10 -0800 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-04-02 20:27:46 +0000 |
commit | 4d0aad889476e3012f970fffa5305d5c9386cc47 (patch) | |
tree | b9cf28b3a7b5ca1695c07d5451b4f170626e6136 /chip/g/build.mk | |
parent | de24d511621fcc98b36152a7c373eeaa566fea74 (diff) | |
download | chrome-ec-4d0aad889476e3012f970fffa5305d5c9386cc47.tar.gz |
cr50: add USB support
Add a USB device driver for the Synopsys DWC USB device controller.
The common USB protocol stack code still need to be de-duplicated with
the STM32 implementation.
Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
BRANCH=none
BUG=chrome-os-partner:33919
TEST=plug Cr50 to a Linux workstation and see USB descriptors using
"lsusb -v -d 18d1:5014"
Change-Id: I4a367241053de2c2d94aa06f82ea4bee51f9f89a
Reviewed-on: https://chromium-review.googlesource.com/231160
Commit-Queue: Vincent Palatin <vpalatin@chromium.org>
Trybot-Ready: Vincent Palatin <vpalatin@chromium.org>
Tested-by: Vincent Palatin <vpalatin@chromium.org>
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Diffstat (limited to 'chip/g/build.mk')
-rw-r--r-- | chip/g/build.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chip/g/build.mk b/chip/g/build.mk index ac626e0381..97dc18a6f1 100644 --- a/chip/g/build.mk +++ b/chip/g/build.mk @@ -19,3 +19,7 @@ CPPFLAGS+= -DGC_REVISION="$(ver_str)" chip-y=clock.o gpio.o hwtimer.o jtag.o system.o uart.o chip-y+= pmu.o chip-$(CONFIG_WATCHDOG)+=watchdog.o + +chip-$(CONFIG_USB)+=usb.o usb_endpoints.o +chip-$(CONFIG_USB_CONSOLE)+=usb_console.o +chip-$(CONFIG_USB_HID)+=usb_hid.o |