summaryrefslogtreecommitdiff
path: root/chip/stm32/usb_dwc_update.h
diff options
context:
space:
mode:
authorNick Sanders <nsanders@chromium.org>2016-08-29 14:37:34 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-09-02 21:17:22 -0700
commitf4dba3b7d35c4db495f9a8eed442d005a2bc8ae7 (patch)
tree8d0c9448ccccf86e9a482ab6c81e664a8546ae9a /chip/stm32/usb_dwc_update.h
parent1e23739997bdf85d3767d072377d6e607e3c96d5 (diff)
downloadchrome-ec-f4dba3b7d35c4db495f9a8eed442d005a2bc8ae7.tar.gz
sweetberry: add usb fw update
Port USB firmware update to stm32f4 dwc usb from st usb. This includes usb dwc usb stream inplementation, generic endpoint interfaces, and the sweetberry test case. BUG=chromium:608039 TEST=usb update works BRANCH=None Change-Id: Ia26e4f7e990ee64991468799c99b036f5f32190f Signed-off-by: Nick Sanders <nsanders@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/377520 Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'chip/stm32/usb_dwc_update.h')
-rw-r--r--chip/stm32/usb_dwc_update.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/chip/stm32/usb_dwc_update.h b/chip/stm32/usb_dwc_update.h
new file mode 100644
index 0000000000..6d79f3aca9
--- /dev/null
+++ b/chip/stm32/usb_dwc_update.h
@@ -0,0 +1,10 @@
+/* Copyright 2016 The Chromium OS Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+#ifndef __CROS_EC_STM32_USB_DWC_UPDATE_H
+#define __CROS_EC_STM32_USB_DWC_UPDATE_H
+
+extern struct dwc_usb_ep usb_update_ep_ctl;
+
+#endif /* __CROS_EC_STM32_USB_DWC_UPDATE_H */