summaryrefslogtreecommitdiff
path: root/chip/g/build.mk
diff options
context:
space:
mode:
authorBill Richardson <wfrichar@chromium.org>2015-06-03 12:18:30 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-06-04 19:33:00 +0000
commit45d19984ec35bc47e8e921269ec4b65ee055f772 (patch)
treefe9337907bec3b5b5cf1fb59251192f40d8b4110 /chip/g/build.mk
parent09f8a93bb854fc9e2cbb2b2ccf7eea09cb2e6036 (diff)
downloadchrome-ec-45d19984ec35bc47e8e921269ec4b65ee055f772.tar.gz
Cr50: Add usb_blob handler framework
This adds a new task and endpoints to handle large opaque (to the USB) chunks of data. The expected use case is that the USB endpoint accepts bytes from the host and passes them blindly to the blob-handling task. At some point, the blob-handling task may wish to send bytes back to the host. What those bytes are and what they mean is determined at higher levels of abstraction. BUG=chrome-os-partner:40969 BRANCH=none TEST=make buildall This CL doesn't enable the blob-handler; it just makes it available. The next CL will enable and test it. Change-Id: I6eba8e8010466e71efe9c5e06848b9f403df835f Signed-off-by: Bill Richardson <wfrichar@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/275131 Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'chip/g/build.mk')
-rw-r--r--chip/g/build.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/chip/g/build.mk b/chip/g/build.mk
index 9d26880083..ff1c607881 100644
--- a/chip/g/build.mk
+++ b/chip/g/build.mk
@@ -24,3 +24,5 @@ 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
+# TODO(wfrichar): Document this (and all other CONFIG_USB_*) in config.h
+chip-$(CONFIG_USB_BLOB)+=usb_blob.o