diff options
author | Nicolas Boichat <drinkcat@google.com> | 2016-07-08 14:11:56 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-07-09 01:40:28 -0700 |
commit | bdfba870636632cd66030b99f631c696b2ad1343 (patch) | |
tree | d33fc87b82fade46db78b0f19a42f42b9f0d6d74 /common/host_command.c | |
parent | b24cfb13a923a3e7b80e2d21330b2bfb39388cf9 (diff) | |
download | chrome-ec-bdfba870636632cd66030b99f631c696b2ad1343.tar.gz |
Add CONFIG_HOSTCMD_DEBUG_MODE to set default hcdebug mode
elm EC console output is very spammy, as EC_CMD_MOTION_SENSE_CMD
is called every 100ms, so we want to set "hcdebug" to "off" as
the default (which still includes errors, but no "normal"
commands).
BRANCH=none
BUG=chrome-os-partner:55001
TEST=make buildall -j
TEST=Flash elm EC, see that output is fairly quiet.
Change-Id: I70d91c291d934b4f032e5c57f3c333e2c10b93bc
Reviewed-on: https://chromium-review.googlesource.com/359112
Commit-Ready: Nicolas Boichat <drinkcat@chromium.org>
Tested-by: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-by: Gwendal Grignou <gwendal@chromium.org>
Diffstat (limited to 'common/host_command.c')
-rw-r--r-- | common/host_command.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/host_command.c b/common/host_command.c index 91bd2ded6e..2a4c48a803 100644 --- a/common/host_command.c +++ b/common/host_command.c @@ -47,7 +47,7 @@ static enum { /* Number of host command debug modes */ HCDEBUG_MODES -} hcdebug = HCDEBUG_NORMAL; +} hcdebug = CONFIG_HOSTCMD_DEBUG_MODE; #ifdef CONFIG_CMD_HCDEBUG static const char * const hcdebug_mode_names[HCDEBUG_MODES] = { |