summaryrefslogtreecommitdiff
path: root/include/link_defs.h
diff options
context:
space:
mode:
authorVincent Palatin <vpalatin@chromium.org>2013-06-05 17:15:05 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-06-18 06:08:45 +0000
commit5fa52a895b6acd5d976a24dd571a44eaa3cb1ad1 (patch)
tree667ccc50249a31eec51199811b9fd3780ba52729 /include/link_defs.h
parent4957dcbd87cd75d91bca772fef93ec2e0256ea4f (diff)
downloadchrome-ec-5fa52a895b6acd5d976a24dd571a44eaa3cb1ad1.tar.gz
stm32: add USB driver
Enough USB support to be able to enumerate the device and use bulk or interrupt endpoints. Signed-off-by: Vincent Palatin <vpalatin@chromium.org> BRANCH=none BUG=chrome-os-partner:28295 TEST=with the following USB console CL, connect a Fruitpie through USB and use its console over USB. Change-Id: I37b7f3b6a754cb82ab5f940ea20122d2e16b3b5b Reviewed-on: https://chromium-review.googlesource.com/193983 Tested-by: Vincent Palatin <vpalatin@chromium.org> Reviewed-by: Todd Broch <tbroch@chromium.org> Commit-Queue: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'include/link_defs.h')
-rw-r--r--include/link_defs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/link_defs.h b/include/link_defs.h
index 3346ea8e5a..0aab55befe 100644
--- a/include/link_defs.h
+++ b/include/link_defs.h
@@ -54,6 +54,11 @@ extern const struct hook_data __hooks_second_end[];
extern const struct deferred_data __deferred_funcs[];
extern const struct deferred_data __deferred_funcs_end[];
+/* USB data */
+extern const uint8_t __usb_desc[];
+extern const uint8_t __usb_desc_end[];
+extern const uint16_t __usb_ram_start[];
+
/* I2C fake devices for unit testing */
extern const struct test_i2c_read_dev __test_i2c_read8[];
extern const struct test_i2c_read_dev __test_i2c_read8_end[];