summaryrefslogtreecommitdiff
path: root/include/ec_commands.h
diff options
context:
space:
mode:
authorNicolas Boichat <drinkcat@google.com>2017-04-05 09:25:52 +0800
committerchrome-bot <chrome-bot@chromium.org>2017-04-06 22:27:01 -0700
commite3f5e6bf6ad2d1e2c283a75cf08e17155633e0a5 (patch)
tree298b008619be3fd4dc7989e0c39ba2c2cbccbd0f /include/ec_commands.h
parenta8e6b070cbd107d8c2f44f44ae8231a4f4efea90 (diff)
downloadchrome-ec-e3f5e6bf6ad2d1e2c283a75cf08e17155633e0a5.tar.gz
system: Fixups in emulated sysrq code
Follow-up to CL:456520, addressing a few more comments. BRANCH=none BUG=b:35775099 TEST=sysrq available in EC console TEST=sysrq h => help message in AP console TEST=sysrq b => AP reboots Change-Id: I692afa7c911882f00d92b8e6d83889c52821e171 Reviewed-on: https://chromium-review.googlesource.com/468506 Commit-Ready: Nicolas Boichat <drinkcat@chromium.org> Tested-by: Nicolas Boichat <drinkcat@chromium.org> Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'include/ec_commands.h')
-rw-r--r--include/ec_commands.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/ec_commands.h b/include/ec_commands.h
index d10fca9df5..2e331637a1 100644
--- a/include/ec_commands.h
+++ b/include/ec_commands.h
@@ -2797,7 +2797,10 @@ enum ec_mkbp_event {
/* New Fingerprint sensor event, the event data is fp_events bitmap. */
EC_MKBP_EVENT_FINGERPRINT = 5,
- /* Sysrq event */
+ /*
+ * Sysrq event: send emulated sysrq. The event data is sysrq,
+ * corresponding to the key to be pressed.
+ */
EC_MKBP_EVENT_SYSRQ = 6,
/* Number of MKBP events */