summaryrefslogtreecommitdiff
path: root/board/willow
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-03-28 15:08:38 +1300
committerCommit Bot <commit-bot@chromium.org>2021-03-31 05:20:11 +0000
commitac49fac880808e7c2e27adb55a6adb0c2b72c8ca (patch)
tree05ce3e9b21de04d8b5d7b1e18bf4142dda4f5663 /board/willow
parent3dc67ced44871bbfbfaa57adfde070fa18fce348 (diff)
downloadchrome-ec-ac49fac880808e7c2e27adb55a6adb0c2b72c8ca.tar.gz
Add a common header for board_is_sourcing_vbus()
This function prototype is defined in lots of files, none of which is visible to Zephyr. Add a prototype in one place and remove the others. BUG=b:183296099 BRANCH=none TEST=make buildall Signed-off-by: Simon Glass <sjg@chromium.org> Change-Id: Ia324327a69b117483ab9ee5c85eba93c0fb5ad9c Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2789799 Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Diffstat (limited to 'board/willow')
-rw-r--r--board/willow/board.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/board/willow/board.h b/board/willow/board.h
index 785aea70ba..b9531b0805 100644
--- a/board/willow/board.h
+++ b/board/willow/board.h
@@ -148,7 +148,6 @@ void emmc_cmd_interrupt(enum gpio_signal signal);
void bc12_interrupt(enum gpio_signal signal);
void board_reset_pd_mcu(void);
int board_get_version(void);
-int board_is_sourcing_vbus(int port);
/* returns the i2c port number of charger/battery */
int board_get_charger_i2c(void);