summaryrefslogtreecommitdiff
path: root/src/vendorcode/google/chromeos
diff options
context:
space:
mode:
Diffstat (limited to 'src/vendorcode/google/chromeos')
-rw-r--r--src/vendorcode/google/chromeos/cr50_enable_update.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/vendorcode/google/chromeos/cr50_enable_update.c b/src/vendorcode/google/chromeos/cr50_enable_update.c
index 7e8806e2d7..b5e4b6cc67 100644
--- a/src/vendorcode/google/chromeos/cr50_enable_update.c
+++ b/src/vendorcode/google/chromeos/cr50_enable_update.c
@@ -61,9 +61,10 @@ static void enable_update(void *unused)
if (IS_ENABLED(CONFIG_POWER_OFF_ON_CR50_UPDATE)) {
if (IS_ENABLED(CONFIG_EC_GOOGLE_CHROMEEC)) {
- printk(BIOS_INFO, "Hibernating EC.\n");
- google_chromeec_reboot(0, EC_REBOOT_HIBERNATE,
- EC_REBOOT_FLAG_ON_AP_SHUTDOWN);
+ printk(BIOS_INFO, "Hibernating EC. Clearing AP_OFF.\n");
+ google_chromeec_reboot(0,
+ EC_REBOOT_HIBERNATE_CLEAR_AP_OFF,
+ EC_REBOOT_FLAG_ON_AP_SHUTDOWN);
}
poweroff();
}