summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Palatin <vpalatin@chromium.org>2015-06-17 16:03:20 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2016-08-25 20:55:56 +0000
commit2930942fe8479665473ae1abddbef69ed243e018 (patch)
treeb3b1554bda21b0de03038a8c4bf794a3b4d61378
parent1eb2de94398f5d03d2566368b60e2ee4357da292 (diff)
downloadchrome-ec-2930942fe8479665473ae1abddbef69ed243e018.tar.gz
UPSTREAM: ryu: update recovery key combinations
Update the recovery key combination to: power key + volume up when the AP is off. Add a fastboot key combination: power key + volume down when the AP is off. Signed-off-by: Vincent Palatin <vpalatin@chromium.org> BRANCH=samus BUG=chrome-os-partner:41629 TEST=on Ryu, shutdown the AP, press "power+volup" or "power+voldown" and see the right trace. Change-Id: I42cf368d42885717758fc4b494af5c8a16fc58b0 Reviewed-on: https://chromium-review.googlesource.com/278323 Reviewed-by: Alec Berg <alecaberg@chromium.org> Commit-Queue: Vincent Palatin <vpalatin@chromium.org> Tested-by: Vincent Palatin <vpalatin@chromium.org> (cherry picked from commit ca5ecf18e4f67c594f9db699bf36a082b5241f62) Signed-off-by: Gwendal Grignou <gwendal@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/370493
-rw-r--r--include/ec_commands.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ec_commands.h b/include/ec_commands.h
index a56ec12435..6c5be4307d 100644
--- a/include/ec_commands.h
+++ b/include/ec_commands.h
@@ -282,6 +282,9 @@ enum host_event_code {
/* EC encountered a panic, triggering a reset */
EC_HOST_EVENT_PANIC = 24,
+ /* Keyboard fastboot combo has been pressed */
+ EC_HOST_EVENT_KEYBOARD_FASTBOOT = 25,
+
/*
* The high bit of the event mask is not used as a host event code. If
* it reads back as set, then the entire event mask should be