diff options
author | Wai-Hong Tam <waihong@google.com> | 2021-06-04 12:37:37 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-06-05 03:55:45 +0000 |
commit | 383a0afdbc88313160251f074c7bca013c0e1ae5 (patch) | |
tree | 3b2ec033db855c5b5a1701b25e10b5d9ba32e15f /zephyr/Kconfig | |
parent | 42586ce091c817b2215b3565c570c4b3c8198e1c (diff) | |
download | chrome-ec-383a0afdbc88313160251f074c7bca013c0e1ae5.tar.gz |
zephyr: Add config to emulate sysrq events
Add the new PLATFORM_EC_EMULATED_SYSRQ option to Zephyr Kconfig.
BRANCH=None
BUG=b:190224781
TEST=Pending test. The following CL enables the option.
Change-Id: I8baf204045a95c3e0d39a448cb3cf2c9bc4d9a2a
Signed-off-by: Wai-Hong Tam <waihong@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2940581
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'zephyr/Kconfig')
-rw-r--r-- | zephyr/Kconfig | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/zephyr/Kconfig b/zephyr/Kconfig index 6866bb35bc..3e6114e518 100644 --- a/zephyr/Kconfig +++ b/zephyr/Kconfig @@ -273,6 +273,19 @@ config PLATFORM_EC_DP_REDRIVER_TDP142 Include a driver for the Texas Instruments TDP142 DisplayPort linear redriver chip. +config PLATFORM_EC_EMULATED_SYSRQ + bool "Emulate sysrq events to AP" + help + The magic SysRq key is a key combo which allows the user to perform + various low-level commands regardless of the system's state. + + See here for the key combos: + + https://www.kernel.org/doc/html/latest/admin-guide/sysrq.html + + This option enables support for sending emulated SysRq events to AP + (on designs with a keyboard, SysRq is passed as normal key presses). + menuconfig PLATFORM_EC_ESPI bool "eSPI" depends on ESPI && AP |