diff options
author | Wai-Hong Tam <waihong@google.com> | 2020-09-14 15:05:25 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-09-16 19:54:28 +0000 |
commit | 5c9d411a4e55cbd68a4be04bae0100204e387c79 (patch) | |
tree | 4023d982fdef8704537ed6af0be2be4d8785ab86 /board/coachz/board.c | |
parent | 81fcfcc39df8e7d9dcb91d516416e790f0f90db6 (diff) | |
download | chrome-ec-5c9d411a4e55cbd68a4be04bae0100204e387c79.tar.gz |
Trogdor: Remove the references to BC1.2 VBUS detection GPIO
We switched to use the TCPC to detect the VBUS, instead of the
BC1.2, from CL:2086092. But the BC1.2 VBUS detection GPIOs are
still used. Remove these references.
BRANCH=None
BUG=b:150682632, b:167884598
TEST=Built the affected Trogdor boards.
Change-Id: I66d59b16cd93b1dbf460a56a9bc97268d571f6d1
Signed-off-by: Wai-Hong Tam <waihong@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2410851
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Diffstat (limited to 'board/coachz/board.c')
-rw-r--r-- | board/coachz/board.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/board/coachz/board.c b/board/coachz/board.c index 3b96d02baa..c4703dc43c 100644 --- a/board/coachz/board.c +++ b/board/coachz/board.c @@ -475,10 +475,6 @@ static void board_switchcap_init(void) /* Initialize board. */ static void board_init(void) { - /* Enable BC1.2 VBUS detection */ - gpio_enable_interrupt(GPIO_USB_C0_VBUS_DET_L); - gpio_enable_interrupt(GPIO_USB_C1_VBUS_DET_L); - /* Enable BC1.2 interrupts */ gpio_enable_interrupt(GPIO_USB_C0_BC12_INT_L); gpio_enable_interrupt(GPIO_USB_C1_BC12_INT_L); |