Skip to content

Commit

Permalink
platform/chrome: cros_ec_commands: Add host command to keep AP off af…
Browse files Browse the repository at this point in the history
…ter EC reset.

Add command to EC_CMD_REBOOT_EC to reset EC but don't boot AP.

Signed-off-by: Pi-Hsun Shih <[email protected]>
Signed-off-by: Enric Balletbo i Serra <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
  • Loading branch information
peter50216 authored and Enric Balletbo i Serra committed Jan 20, 2021
1 parent d7c1fef commit 9f77c58
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/linux/platform_data/cros_ec_commands.h
Original file line number Diff line number Diff line change
Expand Up @@ -4741,6 +4741,7 @@ enum ec_reboot_cmd {
EC_REBOOT_DISABLE_JUMP = 5, /* Disable jump until next reboot */
EC_REBOOT_HIBERNATE = 6, /* Hibernate EC */
EC_REBOOT_HIBERNATE_CLEAR_AP_OFF = 7, /* and clears AP_OFF flag */
EC_REBOOT_COLD_AP_OFF = 8, /* Cold-reboot and don't boot AP */
};

/* Flags for ec_params_reboot_ec.reboot_flags */
Expand Down

0 comments on commit 9f77c58

Please sign in to comment.