Skip to content

Commit 9f77c58

Browse files
peter50216Enric Balletbo i Serra
authored andcommitted
platform/chrome: cros_ec_commands: Add host command to keep AP off after EC reset.
Add command to EC_CMD_REBOOT_EC to reset EC but don't boot AP. Signed-off-by: Pi-Hsun Shih <pihsun@chromium.org> Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com> Link: https://lore.kernel.org/r/20201221041231.14516-1-pihsun@chromium.org
1 parent d7c1fef commit 9f77c58

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

include/linux/platform_data/cros_ec_commands.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4741,6 +4741,7 @@ enum ec_reboot_cmd {
47414741
EC_REBOOT_DISABLE_JUMP = 5, /* Disable jump until next reboot */
47424742
EC_REBOOT_HIBERNATE = 6, /* Hibernate EC */
47434743
EC_REBOOT_HIBERNATE_CLEAR_AP_OFF = 7, /* and clears AP_OFF flag */
4744+
EC_REBOOT_COLD_AP_OFF = 8, /* Cold-reboot and don't boot AP */
47444745
};
47454746

47464747
/* Flags for ec_params_reboot_ec.reboot_flags */

0 commit comments

Comments
 (0)