diff options
author | Gwendal Grignou <gwendal@chromium.org> | 2021-03-01 09:55:09 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-03-02 03:10:30 +0000 |
commit | 063839556ea54fd89273e825cf806fbbfb0a6254 (patch) | |
tree | 4637f023b3f38ac63fdc872db0532e744409e3fb /board | |
parent | 806169da910c189acb2222c3aecdb67f53f34521 (diff) | |
download | chrome-ec-063839556ea54fd89273e825cf806fbbfb0a6254.tar.gz |
dooly: Decrease amount of logging
Reduce logging as sensors interact a lot with AP.
BUG=b:177860358
BRANCH=puff
TEST=On EC console (/var/log/cros_ec.log), check there is no
chatter when sensors data is pulled by the host.
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Change-Id: I05b9ffe8e0fac6a0ada2bd64b58ae5a63e1c9b7a
(cherry picked from commit 8eff3ecaf67a5a557856cfcac10d474a6b26bf1b)
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2728696
Diffstat (limited to 'board')
-rw-r--r-- | board/dooly/board.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/board/dooly/board.h b/board/dooly/board.h index f3ecac684c..e2520d8fd7 100644 --- a/board/dooly/board.h +++ b/board/dooly/board.h @@ -11,6 +11,14 @@ #undef CONFIG_UART_TX_BUF_SIZE #define CONFIG_UART_TX_BUF_SIZE 4096 +/* + * By default, enable all console messages except HC, ACPI and event: + * The sensor stack is generating a lot of activity. + */ +#define CC_DEFAULT (CC_ALL & ~(CC_MASK(CC_EVENTS) | CC_MASK(CC_LPC))) +#undef CONFIG_HOSTCMD_DEBUG_MODE +#define CONFIG_HOSTCMD_DEBUG_MODE HCDEBUG_OFF + /* NPCX7 config */ #define NPCX7_PWM1_SEL 0 /* GPIO C2 is not used as PWM1. */ #define NPCX_UART_MODULE2 1 /* GPIO64/65 are used as UART pins. */ |