From e6694c5c8eae6fa72289d6cdc3328e438863b791 Mon Sep 17 00:00:00 2001 From: Jongpil Jung Date: Mon, 20 Nov 2017 09:46:00 +0900 Subject: 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 Reviewed-on: https://chromium-review.googlesource.com/778519 Commit-Ready: Jongpil Jung Tested-by: Jongpil Jung Reviewed-by: Philip Chen --- board/nautilus/board.c | 14 +------------- 1 file changed, 1 insertion(+), 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); -- cgit v1.2.1