summaryrefslogtreecommitdiff
path: root/board/trogdor
diff options
context:
space:
mode:
authorWai-Hong Tam <waihong@google.com>2021-06-17 16:31:11 -0700
committerCommit Bot <commit-bot@chromium.org>2021-06-21 22:32:43 +0000
commit5389bf2c2e796d64f7c103c3112a6d8fef2c6849 (patch)
tree5c86e7dbf2b0be826536fecdea42ce3332f867e5 /board/trogdor
parente7310cebc12212b582a87ba8358c76c3943624bf (diff)
downloadchrome-ec-5389bf2c2e796d64f7c103c3112a6d8fef2c6849.tar.gz
trogdor: Drop the workaround of hibernate
We added the hibernate workaround for the boards without the pull-up rework. The latest Trogdor revision has the external pull-up. So it doesn't need the workaround for the bug b/170324206. BRANCH=None BUG=b:184071830, b:170324206 TEST=Built the Trogdor image. Change-Id: I62cb3126b4ed4b2c38f04f0b3c937130c1b6fe9a Signed-off-by: Wai-Hong Tam <waihong@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2971866 Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Diffstat (limited to 'board/trogdor')
-rw-r--r--board/trogdor/board.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/board/trogdor/board.c b/board/trogdor/board.c
index 0da77a9061..7c5a06cb1a 100644
--- a/board/trogdor/board.c
+++ b/board/trogdor/board.c
@@ -319,8 +319,6 @@ DECLARE_HOOK(HOOK_INIT, board_tcpc_init, HOOK_PRIO_INIT_I2C+1);
void board_hibernate(void)
{
- int i;
-
/*
* Sensors are unpowered in hibernate. Apply PD to the
* interrupt lines such that they don't float.
@@ -329,14 +327,6 @@ void board_hibernate(void)
GPIO_INPUT | GPIO_PULL_DOWN);
gpio_set_flags(GPIO_LID_ACCEL_INT_L,
GPIO_INPUT | GPIO_PULL_DOWN);
-
- /*
- * Enable the PPC power sink path before EC enters hibernate;
- * otherwise, ACOK won't go High and can't wake EC up. Check the
- * bug b/170324206 for details.
- */
- for (i = 0; i < CONFIG_USB_PD_PORT_MAX_COUNT; i++)
- ppc_vbus_sink_enable(i, 1);
}
/* Called on AP S0 -> S3 transition */