summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Collyer <scollyer@google.com>2019-08-21 14:58:44 -0700
committerCommit Bot <commit-bot@chromium.org>2019-08-24 01:08:06 +0000
commit2082d4c8f0ac03a1f318031ea55609e4debd1146 (patch)
tree60ddefdab65709933dc8da3feadb75d05d6e0165
parentb027b178cffd207d4327ba0af7a07a1efd451ebf (diff)
downloadchrome-ec-2082d4c8f0ac03a1f318031ea55609e4debd1146.tar.gz
hatch: Remove unused board_set_vconn function
This function had been incorrectly added to baseboard.c, but was never required to be there. This CL removes this unsed function. BUG=b:139761723 BRANCH=None TEST='make BOARD=hatch' Change-Id: I9025fc6c7a49742186e520fdd09525e4ba256b47 Signed-off-by: Scott Collyer <scollyer@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1764709 Tested-by: Scott Collyer <scollyer@chromium.org> Reviewed-by: Aseda Aboagye <aaboagye@chromium.org> Commit-Queue: Scott Collyer <scollyer@chromium.org>
-rw-r--r--baseboard/hatch/baseboard.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/baseboard/hatch/baseboard.c b/baseboard/hatch/baseboard.c
index 040c2f2659..003fc6c755 100644
--- a/baseboard/hatch/baseboard.c
+++ b/baseboard/hatch/baseboard.c
@@ -243,17 +243,6 @@ void board_reset_pd_mcu(void)
BOARD_TCPC_C1_RESET_POST_DELAY);
}
-void board_pd_vconn_ctrl(int port, enum usbpd_cc_pin cc_pin, int enabled)
-{
- /*
- * We ignore the cc_pin because the polarity should already be set
- * correctly in the PPC driver via the pd state machine.
- */
- if (ppc_set_vconn(port, enabled) != EC_SUCCESS)
- cprints(CC_USBPD, "C%d: Failed %sabling vconn",
- port, enabled ? "en" : "dis");
-}
-
int board_set_active_charge_port(int port)
{
int is_valid_port = (port >= 0 &&