diff options
author | Nicolas Boichat <drinkcat@google.com> | 2017-03-14 11:03:11 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-03-16 11:25:50 -0700 |
commit | 391056f9eea24cf19bc7d1571d7db18a3d0ae683 (patch) | |
tree | f1bcebbf50779cf8acbada01400d7a1bc593f21b /chip/stm32/usb_spi.h | |
parent | 236a70f726ae0a1f0e77312eb3e86418ca1eeda1 (diff) | |
download | chrome-ec-391056f9eea24cf19bc7d1571d7db18a3d0ae683.tar.gz |
usb: Cleanup headers
Let's split the usb headers in 3 different parts, instead of having
usb_descriptor.h pull in usb_hw.h and usb_api.h.
- usb_api.h: EC functions related to usb (e.g. connect/disconnect)
- usb_descriptor.h: common USB names and structures
- usb_hw.h: Functions required for interactive with EC's USB HW
BRANCH=none
BUG=b:35587171
TEST=make buildall -j
Change-Id: I37ead61e3be5e7ae464f1c9137cf02eaab0ff92e
Reviewed-on: https://chromium-review.googlesource.com/454861
Commit-Ready: Nicolas Boichat <drinkcat@chromium.org>
Tested-by: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'chip/stm32/usb_spi.h')
-rw-r--r-- | chip/stm32/usb_spi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chip/stm32/usb_spi.h b/chip/stm32/usb_spi.h index 9a061af0c3..3c71fd4bc6 100644 --- a/chip/stm32/usb_spi.h +++ b/chip/stm32/usb_spi.h @@ -10,6 +10,7 @@ #include "compile_time_macros.h" #include "hooks.h" #include "usb_descriptor.h" +#include "usb_hw.h" /* * Command: |