summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJongpil Jung <jongpil19.jung@samsung.com>2017-11-20 09:46:00 +0900
committerchrome-bot <chrome-bot@chromium.org>2017-11-22 22:54:45 -0800
commite6694c5c8eae6fa72289d6cdc3328e438863b791 (patch)
tree4d7483f3b2ae0bb0fd028b185fb4f55e9ad91d82
parentbff4bb76829cc76e32fef4ad9f8074f48e2fdb6f (diff)
downloadchrome-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>
-rw-r--r--board/nautilus/board.c14
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, &reg);
- i2c_read8(NPCX_I2C_PORT0_1, 0x10, 0xA0, &reg);
-
/* Enable TCPC interrupts */
gpio_enable_interrupt(GPIO_USB_C0_PD_INT_ODL);
gpio_enable_interrupt(GPIO_USB_C1_PD_INT_ODL);