summaryrefslogtreecommitdiff
path: root/board/primus/board.c
diff options
context:
space:
mode:
authorScott Chao <scott_chao@wistron.corp-partner.google.com>2021-07-06 14:03:40 +0800
committerCommit Bot <commit-bot@chromium.org>2021-07-08 00:42:49 +0000
commitb232c575c982931c212c5650e732a99382d3d95d (patch)
tree1e646680fbbf0c3649d8d4b559ff74b321dcbff0 /board/primus/board.c
parentf47ba9d07c3b8aecd6afb7948b65d25c76a75359 (diff)
downloadchrome-ec-b232c575c982931c212c5650e732a99382d3d95d.tar.gz
primus: Include-what-you-use scrub
Copy CL:2987159 to primus. 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: I10a1e96a7f7b82ab18e39a51a9f36de9d2468e49 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3007874 Reviewed-by: Boris Mittelberg <bmbm@google.com>
Diffstat (limited to 'board/primus/board.c')
-rw-r--r--board/primus/board.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/board/primus/board.c b/board/primus/board.c
index c63bbb2c80..371f030810 100644
--- a/board/primus/board.c
+++ b/board/primus/board.c
@@ -3,21 +3,25 @@
* found in the LICENSE file.
*/
-#include "common.h"
-
#include "battery.h"
#include "button.h"
#include "charge_ramp.h"
#include "charger.h"
+#include "common.h"
+#include "compile_time_macros.h"
#include "console.h"
#include "fw_config.h"
+#include "gpio.h"
+#include "gpio_signal.h"
#include "hooks.h"
#include "lid_switch.h"
#include "power_button.h"
#include "power.h"
#include "pwm.h"
+#include "registers.h"
#include "switch.h"
#include "throttle_ap.h"
+#include "usbc_config.h"
#include "gpio_list.h" /* Must come after other header files. */