diff options
author | Gwendal Grignou <gwendal@chromium.org> | 2018-06-19 12:02:50 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-06-21 16:31:43 -0700 |
commit | 27e8d040b368601051cedf702bd1dfc53b279c50 (patch) | |
tree | bf8f514e2ddeb92b35f73b1c32e1f006daccc475 | |
parent | 329638a06ae4a7088ccea5a8453342e0a18702b0 (diff) | |
download | chrome-ec-27e8d040b368601051cedf702bd1dfc53b279c50.tar.gz |
nocturne: Disable HC debug by default
When sensors are in use, host queries EC often.
BUG=b:110143516
BRANCH=none
TEST=Check EC is free of output like:
[4453.301662 ACPI query = 27]
[4453.302686 HC 0x67]
[4453.303954 HC 0x2b]
[4453.340550 event set 0x0000000004000000]
[4453.341458 event clear 0x0000000004000000]
Change-Id: Ie144c3ba60e4016c56bbf9438a6e8adc0a87b283
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1107481
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Tested-by: Gwendal Grignou <gwendal@google.com>
Reviewed-by: Alexandru M Stan <amstan@chromium.org>
-rw-r--r-- | board/nocturne/board.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/board/nocturne/board.h b/board/nocturne/board.h index fa0febf7d4..c94ca190b2 100644 --- a/board/nocturne/board.h +++ b/board/nocturne/board.h @@ -8,6 +8,14 @@ #ifndef __CROS_EC_BOARD_H #define __CROS_EC_BOARD_H +/* + * By default, enable all console messages excepted 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 + /* TODO(aaboagye): Remove before production. */ #define CONFIG_SYSTEM_UNLOCKED /* Allow dangerous commands. */ |