diff options
author | Gwendal Grignou <gwendal@chromium.org> | 2022-02-11 10:20:22 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2022-02-15 01:16:09 +0000 |
commit | d059ea64ba23dff66392677367cf70c26e20cf6a (patch) | |
tree | 5efc8bcd14bb7269c7a0a6613f20124e487d9d6c /board/rammus | |
parent | 3c14aea27e5eb8e598287ee5079d8677197b1ae4 (diff) | |
download | chrome-ec-d059ea64ba23dff66392677367cf70c26e20cf6a.tar.gz |
rammus: Disable HC debug by default
Similar to commit 27e8d040b368 ("nocturne: Disable HC debug by default").
When sensors are in use, host queries EC often.
BUG=b:205354460
TEST=compile. Apply change in rammus branch, check on DUT that host
command messages are gone.
BRANCH=rammus
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Change-Id: Ia828428ab940a0c7faa627fa3655b4f7ce5cd9b8
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3456704
Reviewed-by: Ricardo Quesada <ricardoq@chromium.org>
Diffstat (limited to 'board/rammus')
-rw-r--r-- | board/rammus/board.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/board/rammus/board.h b/board/rammus/board.h index 0ee3663c2f..1f5e6f51dd 100644 --- a/board/rammus/board.h +++ b/board/rammus/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 + /* EC */ #define CONFIG_ADC #define CONFIG_BACKLIGHT_LID |