diff options
author | Zick Wei <zick.wei@quanta.corp-partner.google.com> | 2020-07-15 11:16:38 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-07-15 21:52:01 +0000 |
commit | c7e869cb1cd4f51a302fd1e807be9aaafd605851 (patch) | |
tree | 9637838f74cd279e10a9928b001d214f7d110ad3 /board/morphius | |
parent | 6582f03aa737a301e7f9ea1e770b18232f5d1eee (diff) | |
download | chrome-ec-c7e869cb1cd4f51a302fd1e807be9aaafd605851.tar.gz |
morphius: support aoz ppc only
There is a limitation on TCPC NCT3807,
which not support internal pull down on gpio.
We only use ppc AOZ1380 on board version 3.
BUG=b:156552519, b:161215922
BRANCH=none
TEST=make BOARD=morphius
Signed-off-by: Zick Wei <zick.wei@quanta.corp-partner.google.com>
Change-Id: I3ab3fc86ae55939e1a7d73bef9d27719378736ba
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2297216
Reviewed-by: Edward Hill <ecgh@chromium.org>
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Commit-Queue: Edward Hill <ecgh@chromium.org>
Diffstat (limited to 'board/morphius')
-rw-r--r-- | board/morphius/board.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/board/morphius/board.c b/board/morphius/board.c index ccebea4e9e..f7674273d2 100644 --- a/board/morphius/board.c +++ b/board/morphius/board.c @@ -260,7 +260,6 @@ enum gpio_signal gpio_ec_ps2_reset = GPIO_EC_PS2_RESET_V1; static void board_remap_gpio(void) { uint32_t board_ver = 0; - int ppc_id = 0; cbi_get_board_version(&board_ver); @@ -272,9 +271,7 @@ static void board_remap_gpio(void) ccprintf("GPIO_EC_PS2_RESET_V0\n"); } - ioex_get_level(IOEX_PPC_ID, &ppc_id); - - support_aoz_ppc = ((board_ver >= 3) && !ppc_id); + support_aoz_ppc = (board_ver == 3); if (support_aoz_ppc) { ccprintf("DB USBC PPC aoz1380\n"); ppc_chips[USBC_PORT_C1].drv = &aoz1380_drv; |