summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/config.h5
-rw-r--r--include/ec_commands.h5
-rw-r--r--include/host_command.h8
-rw-r--r--include/system.h9
4 files changed, 11 insertions, 16 deletions
diff --git a/include/config.h b/include/config.h
index ad8e60cc69..7c469438d9 100644
--- a/include/config.h
+++ b/include/config.h
@@ -1467,10 +1467,7 @@
/* Support EC chip internal data EEPROM */
#undef CONFIG_EEPROM
-/*
- * Support for sending emulated sysrq events to AP (on designs with a keyboard,
- * sysrq is passed as normal key presses).
- */
+/* Support for sending emulated sysrq commands to AP */
#undef CONFIG_EMULATED_SYSRQ
/* Include code for handling external power */
diff --git a/include/ec_commands.h b/include/ec_commands.h
index 8b50508bad..3d0dc50ad0 100644
--- a/include/ec_commands.h
+++ b/include/ec_commands.h
@@ -3431,10 +3431,7 @@ enum ec_mkbp_event {
/* New Fingerprint sensor event, the event data is fp_events bitmap. */
EC_MKBP_EVENT_FINGERPRINT = 5,
- /*
- * Sysrq event: send emulated sysrq. The event data is sysrq,
- * corresponding to the key to be pressed.
- */
+ /* Sysrq event */
EC_MKBP_EVENT_SYSRQ = 6,
/*
diff --git a/include/host_command.h b/include/host_command.h
index 256a5617ca..4744690875 100644
--- a/include/host_command.h
+++ b/include/host_command.h
@@ -331,14 +331,6 @@ int pd_host_command(int command, int version,
*/
int host_get_vboot_mode(void);
-/*
- * Sends an emulated sysrq to the host, used by button-based debug mode.
- * Only implemented on top of MKBP protocol.
- *
- * @param key Key to be sent (e.g. 'x')
- */
-void host_send_sysrq(uint8_t key);
-
/* Return the lower/higher part of the feature flags bitmap */
uint32_t get_feature_flags0(void);
uint32_t get_feature_flags1(void);
diff --git a/include/system.h b/include/system.h
index 4cad8499a6..3033be2736 100644
--- a/include/system.h
+++ b/include/system.h
@@ -504,6 +504,14 @@ uintptr_t system_get_fw_reset_vector(uintptr_t base);
*/
int system_is_reboot_warm(void);
+/*
+ * Sends an emulated sysrq to the host, used by button-based debug mode.
+ * Only implemented on top of MKBP protocol.
+ *
+ * @param key Key to be sent (e.g. 'x')
+ */
+void send_sysrq(uint8_t key);
+
#ifdef CONFIG_EXTENDED_VERSION_INFO
void system_print_extended_version_info(void);
#else
@@ -511,4 +519,5 @@ static inline void system_print_extended_version_info(void)
{
}
#endif
+
#endif /* __CROS_EC_SYSTEM_H */