diff options
author | Nick Sanders <nsanders@chromium.org> | 2016-08-02 19:35:44 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-09-01 22:56:22 -0700 |
commit | a4bfc663a3cd645b43963bb814269efe864f8d1e (patch) | |
tree | 185ab7cc413c4b580ea50845a024838aba577732 /chip/stm32/usb_dwc_console.h | |
parent | 54f4612764e07e5e3ccd8a4af04ee83a46454612 (diff) | |
download | chrome-ec-a4bfc663a3cd645b43963bb814269efe864f8d1e.tar.gz |
sweetberry: add dwc usb support
stm32f446 uses a synopsys designware USB block
rather than the typical ST one. This change adds driver support
for the new block, including usb console support.
BUG=chromium:608039
TEST=usb console works
BRANCH=None
Change-Id: I0e143758ae0b5285f1c94ea2ec5aee159e22e00c
Signed-off-by: Nick Sanders <nsanders@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/365448
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'chip/stm32/usb_dwc_console.h')
-rw-r--r-- | chip/stm32/usb_dwc_console.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/chip/stm32/usb_dwc_console.h b/chip/stm32/usb_dwc_console.h new file mode 100644 index 0000000000..387a8f0543 --- /dev/null +++ b/chip/stm32/usb_dwc_console.h @@ -0,0 +1,13 @@ +/* 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 __CHIP_STM32_USB_DWC_CONSOLE_H +#define __CHIP_STM32_USB_DWC_CONSOLE_H + +#include "usb_dwc_hw.h" + +extern struct dwc_usb_ep ep_console_ctl; + +#endif /* __CHIP_STM32_USB_DWC_CONSOLE_H */ |