summaryrefslogtreecommitdiff
path: root/zephyr/Kconfig
diff options
context:
space:
mode:
authorKeith Short <keithshort@chromium.org>2021-03-03 18:09:09 -0700
committerCommit Bot <commit-bot@chromium.org>2021-03-10 19:25:44 +0000
commit5fb2cad416ff2aacfc70ee88af928b1bd6ee5158 (patch)
treeca235896c777deff097ae92499dad8a02817048c /zephyr/Kconfig
parented9c874af06d41de6c30106bcd1979d43500f483 (diff)
downloadchrome-ec-5fb2cad416ff2aacfc70ee88af928b1bd6ee5158.tar.gz
zephyr: add Kconfig for hcdebug console command.
Add a Kconfig option to control the hcdebug console command. BUG=b:172678200 BRANCH=none TEST=make buildall, zmake testall Signed-off-by: Keith Short <keithshort@chromium.org> Change-Id: I8c7684ac7b6b161f452efcd831c88779564b2b66 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2737540 Commit-Queue: Jack Rosenthal <jrosenth@chromium.org> Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Diffstat (limited to 'zephyr/Kconfig')
-rw-r--r--zephyr/Kconfig19
1 files changed, 19 insertions, 0 deletions
diff --git a/zephyr/Kconfig b/zephyr/Kconfig
index c73dd6cc76..ebf58bd313 100644
--- a/zephyr/Kconfig
+++ b/zephyr/Kconfig
@@ -503,6 +503,25 @@ menuconfig PLATFORM_EC_HOSTCMD
responds when able. An interrupt can be used to indicate to the AP
that the EC has something for it.
+config PLATFORM_EC_CONSOLE_CMD_HCDEBUG
+ bool "Console command: hcdebug"
+ default y
+ depends on PLATFORM_EC_HOSTCMD
+ help
+ Enable the 'hcdebug' console command. This comamnd is used to change,
+ at runtime, the amount of debug generated by the host command
+ processing.
+
+ hcdebug [off | normal | every | params]
+
+ off - No host command debug messages are shown.
+ normal - Display host commands receieved from the AP. Repeated
+ commands are shown with a "+" and "++" symbol.
+ every - Display all host commands received from the AP, including
+ repeated commands.
+ params - Display all host commands and the parameters received from
+ the AP.
+
config PLATFORM_EC_LID_SWITCH
bool "Lid switch"
help