summaryrefslogtreecommitdiff
path: root/zephyr/Kconfig.system
diff options
context:
space:
mode:
authorWealian Liao <whliao@nuvoton.corp-partner.google.com>2021-07-08 16:05:33 +0800
committerCommit Bot <commit-bot@chromium.org>2021-08-02 23:09:48 +0000
commit9010da429dc83dab3e961d76987f809cc3d4379a (patch)
tree4d51f3539bfc4e5b197e58ae51bcb30961cad6b7 /zephyr/Kconfig.system
parent81ea35f9c0ca50aa3c7013beaf8cd4decd821fc3 (diff)
downloadchrome-ec-9010da429dc83dab3e961d76987f809cc3d4379a.tar.gz
zephyr: Add scratchpad console command enable option
This CL adds scratchpad console command enable options in Kconfig. BUG=none BRANCH=none TEST=zmake testall Signed-off-by: Wealian Liao <whliao@nuvoton.corp-partner.google.com> Change-Id: I5d7e536298f74d93e420b90c72702df80f02fa4c Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3067155 Reviewed-by: Yuval Peress <peress@chromium.org> Reviewed-by: Keith Short <keithshort@chromium.org> Commit-Queue: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'zephyr/Kconfig.system')
-rw-r--r--zephyr/Kconfig.system7
1 files changed, 7 insertions, 0 deletions
diff --git a/zephyr/Kconfig.system b/zephyr/Kconfig.system
index be7dae8e6f..c9b67a6ab7 100644
--- a/zephyr/Kconfig.system
+++ b/zephyr/Kconfig.system
@@ -4,6 +4,13 @@
if PLATFORM_EC
+config PLATFORM_EC_CONSOLE_CMD_SCRATCHPAD
+ bool "Console Command: scratchpad"
+ help
+ Enable the scratchpad console command. The scratchpad register
+ maintain its contents across a software-requested warm reset. The
+ command is used to set or get the scratchpad.
+
config PLATFORM_EC_CONSOLE_CMD_SYSINFO
bool "Console Command: sysinfo"
default y