diff options
author | Mary Ruthven <mruthven@chromium.org> | 2021-11-09 21:49:42 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-11-18 04:54:20 +0000 |
commit | 0598e84782362eb2859fdcc42d4bf64bc4103d5e (patch) | |
tree | d63d3777d2fc3931bacd0f2d384519ba877a2e76 /include | |
parent | 45e380e4fba66a9d00acfcce2a744e5528924326 (diff) | |
download | chrome-ec-0598e84782362eb2859fdcc42d4bf64bc4103d5e.tar.gz |
Revert "system: Add support for emulated sysrq"
This reverts commit 871bf8da2cf5fa9bcfe8771b96af4b55c2503616.
BUG=b:200823466
TEST=make buildall -j
Change-Id: I126176dcf85d4850213308f77eefb554454f50d0
Signed-off-by: Mary Ruthven <mruthven@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3273469
Reviewed-by: Vadim Sukhomlinov <sukhomlinov@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/config.h | 3 | ||||
-rw-r--r-- | include/ec_commands.h | 5 | ||||
-rw-r--r-- | include/system.h | 8 |
3 files changed, 0 insertions, 16 deletions
diff --git a/include/config.h b/include/config.h index 7c469438d9..fa9eb793ff 100644 --- a/include/config.h +++ b/include/config.h @@ -1467,9 +1467,6 @@ /* Support EC chip internal data EEPROM */ #undef CONFIG_EEPROM -/* Support for sending emulated sysrq commands to AP */ -#undef CONFIG_EMULATED_SYSRQ - /* Include code for handling external power */ #define CONFIG_EXTPOWER diff --git a/include/ec_commands.h b/include/ec_commands.h index 3d0dc50ad0..e2c114d671 100644 --- a/include/ec_commands.h +++ b/include/ec_commands.h @@ -3431,9 +3431,6 @@ enum ec_mkbp_event { /* New Fingerprint sensor event, the event data is fp_events bitmap. */ EC_MKBP_EVENT_FINGERPRINT = 5, - /* Sysrq event */ - EC_MKBP_EVENT_SYSRQ = 6, - /* * New 64-bit host event. * The event data is 8 bytes of host event flags. @@ -3498,8 +3495,6 @@ union __ec_align_offset1 ec_response_get_next_data_v1 { uint32_t fp_events; - uint32_t sysrq; - /* CEC events from enum mkbp_cec_event */ uint32_t cec_events; diff --git a/include/system.h b/include/system.h index 3033be2736..a08492c7b8 100644 --- a/include/system.h +++ b/include/system.h @@ -504,14 +504,6 @@ 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 |