diff options
author | Jongpil Jung <jongpil19.jung@samsung.com> | 2017-11-20 09:46:00 +0900 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-11-22 22:54:45 -0800 |
commit | e6694c5c8eae6fa72289d6cdc3328e438863b791 (patch) | |
tree | 4d7483f3b2ae0bb0fd028b185fb4f55e9ad91d82 /board/nautilus/board.c | |
parent | bff4bb76829cc76e32fef4ad9f8074f48e2fdb6f (diff) | |
download | chrome-ec-e6694c5c8eae6fa72289d6cdc3328e438863b791.tar.gz |
nautilus: remove revision related code.
nautilus doesn't have PS8751(A1,A2).
BUG=b:69389497
BRANCH=none
TEST=build/flash nautilus rev1, power on and boot ok.
check charging/discharging as AC connection.
Change-Id: I371fc90f6730715535036e7d748ce44fa586b737
Signed-off-by: Jongpil Jung <jongpil19.jung@samsung.com>
Reviewed-on: https://chromium-review.googlesource.com/778519
Commit-Ready: Jongpil Jung <jongpil19.jung@samsung.corp-partner.google.com>
Tested-by: Jongpil Jung <jongpil19.jung@samsung.corp-partner.google.com>
Reviewed-by: Philip Chen <philipchen@chromium.org>
Diffstat (limited to 'board/nautilus/board.c')
-rw-r--r-- | board/nautilus/board.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/board/nautilus/board.c b/board/nautilus/board.c index a60bc9e62a..68e55fa100 100644 --- a/board/nautilus/board.c +++ b/board/nautilus/board.c @@ -206,25 +206,13 @@ void board_reset_pd_mcu(void) void board_tcpc_init(void) { - int port, reg; + int port; /* Only reset TCPC if not sysjump */ if (!system_jumped_to_this_image()) { board_reset_pd_mcu(); } - /* - * TODO: Remove when Poppy is updated with PS8751 A3. - * - * Force PS8751 A2 to wake from low power mode. - * If PS8751 remains in low power mode after sysjump, - * TCPM_INIT will fail due to not able to access PS8751. - * - * NOTE: PS8751 A3 will wake on any I2C access. - */ - i2c_read8(NPCX_I2C_PORT0_0, 0x10, 0xA0, ®); - i2c_read8(NPCX_I2C_PORT0_1, 0x10, 0xA0, ®); - /* Enable TCPC interrupts */ gpio_enable_interrupt(GPIO_USB_C0_PD_INT_ODL); gpio_enable_interrupt(GPIO_USB_C1_PD_INT_ODL); |