summaryrefslogtreecommitdiff
path: root/board/gimble/usbc_config.c
diff options
context:
space:
mode:
authorScott Chao <scott_chao@wistron.corp-partner.google.com>2021-07-06 14:27:18 +0800
committerCommit Bot <commit-bot@chromium.org>2021-07-08 00:38:06 +0000
commit25ea852e1ebcc10166b730037c137a556b69c16b (patch)
treee5a9426dee513bfe2a07a4dd5dd7cc49c55a15ef /board/gimble/usbc_config.c
parent4dfd874491cd748139dfac1259e4009adfca0096 (diff)
downloadchrome-ec-25ea852e1ebcc10166b730037c137a556b69c16b.tar.gz
gimble: Include-what-you-use scrub
Copy CL:2987159 to gimble. This updates the list of header files included by brya board files to match what is actually used. BUG=none BRANCH=none TEST=make buildall Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com> Change-Id: I3fcc0c0742f4adbeb063dd2db137b11ed0a8e8da Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3007878 Reviewed-by: Boris Mittelberg <bmbm@google.com>
Diffstat (limited to 'board/gimble/usbc_config.c')
-rw-r--r--board/gimble/usbc_config.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/board/gimble/usbc_config.c b/board/gimble/usbc_config.c
index 150e3b5444..947feef35b 100644
--- a/board/gimble/usbc_config.c
+++ b/board/gimble/usbc_config.c
@@ -3,8 +3,12 @@
* found in the LICENSE file.
*/
-#include "common.h"
+#include <stdint.h>
+#include <stdbool.h>
+#include "common.h"
+#include "compile_time_macros.h"
+#include "console.h"
#include "driver/bc12/pi3usb9201_public.h"
#include "driver/ppc/nx20p348x.h"
#include "driver/ppc/syv682x_public.h"
@@ -12,14 +16,21 @@
#include "driver/tcpm/ps8xxx.h"
#include "driver/tcpm/ps8xxx_public.h"
#include "driver/tcpm/tcpci.h"
+#include "ec_commands.h"
#include "fw_config.h"
+#include "gpio.h"
+#include "gpio_signal.h"
#include "hooks.h"
#include "ioexpander.h"
#include "system.h"
+#include "task.h"
+#include "task_id.h"
#include "timer.h"
#include "usbc_config.h"
#include "usbc_ppc.h"
+#include "usb_charge.h"
#include "usb_mux.h"
+#include "usb_pd.h"
#include "usb_pd_tcpm.h"
#define CPRINTF(format, args...) cprintf(CC_USBPD, format, ## args)