diff options
-rw-r--r-- | board/cr50/board.c | 3 | ||||
-rw-r--r-- | common/ec_comm.c | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/board/cr50/board.c b/board/cr50/board.c index 1f5ad35e3b..4dc20f8b8c 100644 --- a/board/cr50/board.c +++ b/board/cr50/board.c @@ -619,9 +619,6 @@ void board_configure_deep_sleep_wakepins(void) * configure_board_specific_gpios(). */ gpio_set_wakepin(GPIO_TPM_RST_L, GPIO_HIB_WAKE_HIGH); - - if (board_has_ec_cr50_comm_support()) - gpio_set_wakepin(GPIO_EC_PACKET_MODE_EN, GPIO_HIB_WAKE_HIGH); } static void deferred_tpm_rst_isr(void); diff --git a/common/ec_comm.c b/common/ec_comm.c index ca41649d97..bedd9e34af 100644 --- a/common/ec_comm.c +++ b/common/ec_comm.c @@ -69,6 +69,9 @@ static void ec_comm_init_(void) CPRINTS("Initialization"); + /* Wake from sleep or deep sleep when EC_PACKET_MODE_EN is asserted. */ + gpio_set_wakepin(GPIO_EC_PACKET_MODE_EN, GPIO_HIB_WAKE_HIGH); + gpio_enable_interrupt(GPIO_EC_PACKET_MODE_EN); gpio_enable_interrupt(GPIO_EC_PACKET_MODE_DIS); |