diff options
author | Furquan Shaikh <furquan@chromium.org> | 2017-07-20 15:03:32 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-07-21 16:02:36 -0700 |
commit | 3968c95e124c6a84ef57881a2058db3b754ab365 (patch) | |
tree | 4a4139c5157dc3116411b4bd876511840bcf45e3 /include/ec_commands.h | |
parent | e292f979431104f12c904f8f1f0227dfef3584c5 (diff) | |
download | chrome-ec-3968c95e124c6a84ef57881a2058db3b754ab365.tar.gz |
button: Add recovery button to mkbp button state
Pass in recovery button press/release information to AP using MKBP
button driver.
BUG=b:63893483
BRANCH=None
TEST=Behavior verified by Shelley.
Change-Id: I7a6e50ec8595d99327b5fc8e822bf762e0ce13e0
Signed-off-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/580539
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'include/ec_commands.h')
-rw-r--r-- | include/ec_commands.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ec_commands.h b/include/ec_commands.h index ea2f9a6213..68ba1df59f 100644 --- a/include/ec_commands.h +++ b/include/ec_commands.h @@ -2957,6 +2957,7 @@ struct __ec_align1 ec_response_get_next_event { #define EC_MKBP_POWER_BUTTON 0 #define EC_MKBP_VOL_UP 1 #define EC_MKBP_VOL_DOWN 2 +#define EC_MKBP_RECOVERY 3 /* Switches */ #define EC_MKBP_LID_OPEN 0 |