diff options
author | Gwendal Grignou <gwendal@chromium.org> | 2019-05-02 13:56:21 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-05-14 20:13:34 -0700 |
commit | a823e6d96f28928d5808149c51cd8f4963b4880e (patch) | |
tree | 5287dc0f82456967978f75f78ac6f023024f9dc9 /baseboard/hatch | |
parent | e6912d4794b8eccb4dca9e250f6a03b6f5903853 (diff) | |
download | chrome-ec-a823e6d96f28928d5808149c51cd8f4963b4880e.tar.gz |
baseboard: hatch: Limit printf on serial console
Once Sensors are enabled, there is a lot of host command traffic.
Change chan mask to prevent printf overload.
BUG=None
BRANCH=master
TEST=Less printf on the console.
Change-Id: I5462e1220949821034fa4001bb5cd11942d48c70
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1593952
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Reviewed-by: Enrico Granata <egranata@chromium.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-by: Scott Collyer <scollyer@chromium.org>
Diffstat (limited to 'baseboard/hatch')
-rw-r--r-- | baseboard/hatch/baseboard.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/baseboard/hatch/baseboard.h b/baseboard/hatch/baseboard.h index 9ca6230e70..a3e22171a1 100644 --- a/baseboard/hatch/baseboard.h +++ b/baseboard/hatch/baseboard.h @@ -8,6 +8,14 @@ #ifndef __CROS_EC_BASEBOARD_H #define __CROS_EC_BASEBOARD_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 + /* 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. */ |