summaryrefslogtreecommitdiff
path: root/power/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'power/common.c')
-rw-r--r--power/common.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/power/common.c b/power/common.c
index 0cdabca0fa..2dab633ef1 100644
--- a/power/common.c
+++ b/power/common.c
@@ -440,11 +440,10 @@ static enum power_state power_common_state(enum power_state state)
&target, now)) {
case CRITICAL_SHUTDOWN_HIBERNATE:
CPRINTS("Hibernate due to G3 idle");
- if (IS_ENABLED(CONFIG_EXTPOWER_GPIO) &&
- IS_ENABLED(CONFIG_VBOOT_EFS2)) {
+ if (IS_ENABLED(CONFIG_VBOOT_EFS2)) {
uint32_t reset_flags;
reset_flags = chip_read_reset_flags() |
- EC_RESET_FLAG_AP_IDLE;
+ EC_RESET_FLAG_AP_OFF;
chip_save_reset_flags(reset_flags);
}
system_hibernate(0, 0);