summaryrefslogtreecommitdiff
path: root/chip/stm32/usb_spi.c
diff options
context:
space:
mode:
authorNicolas Boichat <drinkcat@google.com>2017-03-14 11:03:11 -0700
committerchrome-bot <chrome-bot@chromium.org>2017-03-16 11:25:50 -0700
commit391056f9eea24cf19bc7d1571d7db18a3d0ae683 (patch)
treef1bcebbf50779cf8acbada01400d7a1bc593f21b /chip/stm32/usb_spi.c
parent236a70f726ae0a1f0e77312eb3e86418ca1eeda1 (diff)
downloadchrome-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.c')
-rw-r--r--chip/stm32/usb_spi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/chip/stm32/usb_spi.c b/chip/stm32/usb_spi.c
index 1a54d5f6b7..ca540c3c7c 100644
--- a/chip/stm32/usb_spi.c
+++ b/chip/stm32/usb_spi.c
@@ -8,6 +8,7 @@
#include "registers.h"
#include "spi.h"
#include "usb_descriptor.h"
+#include "usb_hw.h"
#include "usb_spi.h"
#include "util.h"