summaryrefslogtreecommitdiff
path: root/board/coachz/board.c
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2021-03-18 09:51:47 -0600
committerCommit Bot <commit-bot@chromium.org>2021-03-19 15:54:32 +0000
commit96d38288166ce3a21d256a88c71b21ea96928dbe (patch)
tree8d1f3e3339ddcca9f7f95eb3aa08653d3fa963ca /board/coachz/board.c
parent029571ba02454d4f6f0691170c2ba3b5214a71da (diff)
downloadchrome-ec-96d38288166ce3a21d256a88c71b21ea96928dbe.tar.gz
sc7180: move switchcap declarations to common header
sc7180 depends on board specific functions: - board_set_switchcap_power - board_is_switchcap_enabled - board_is_switchcap_power_good The declaration for these functions were copied between many board.h files. Move the declaration to the new sc7180.h file so it can be commonly sourced. BUG=b:183054226 BRANCH=none TEST=make buildall Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Change-Id: Icecb6220bfecdbee665dacb0834ab5752b06815b Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2774363 Reviewed-by: Wai-Hong Tam <waihong@google.com>
Diffstat (limited to 'board/coachz/board.c')
-rw-r--r--board/coachz/board.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/coachz/board.c b/board/coachz/board.c
index a6673b401b..d927afd8b1 100644
--- a/board/coachz/board.c
+++ b/board/coachz/board.c
@@ -24,6 +24,7 @@
#include "peripheral_charger.h"
#include "pi3usb9201.h"
#include "power.h"
+#include "power/sc7180.h"
#include "power_button.h"
#include "pwm.h"
#include "pwm_chip.h"