summaryrefslogtreecommitdiff
path: root/board/coachz/board.h
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.h
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.h')
-rw-r--r--board/coachz/board.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/board/coachz/board.h b/board/coachz/board.h
index 388f773e37..1eb0aa7601 100644
--- a/board/coachz/board.h
+++ b/board/coachz/board.h
@@ -107,10 +107,6 @@ enum battery_type {
BATTERY_TYPE_COUNT,
};
-/* Swithcap functions */
-void board_set_switchcap_power(int enable);
-int board_is_switchcap_enabled(void);
-int board_is_switchcap_power_good(void);
/* Custom function to indicate if sourcing VBUS */
int board_is_sourcing_vbus(int port);
/* Enable VBUS sink for a given port */