summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Boichat <drinkcat@google.com>2016-08-22 14:35:18 +0800
committerchrome-bot <chrome-bot@chromium.org>2016-08-22 05:03:28 -0700
commitc522f55115ccd742afa7a3d81e76701820ab5e78 (patch)
treeb1a4d666f50fad26465a071c417373f30dfbe4f0
parent1b9096116c9a82d9ab0beb5d5d983f9f12a14274 (diff)
downloadchrome-ec-c522f55115ccd742afa7a3d81e76701820ab5e78.tar.gz
kevin: Disable hostcommand debugging
kevin EC console output is very spammy, as EC_CMD_MOTION_SENSE_CMD is called every 100ms. Even when hcdebug is set to off, we still get command errors. BRANCH=none BUG=chrome-os-partner:56460 TEST=make buildall -j TEST=Flash kevin EC, see that output is fairly quiet. Change-Id: Iad974c463c8dd91960e872ec977fe0e653696701 Reviewed-on: https://chromium-review.googlesource.com/373284 Commit-Ready: Nicolas Boichat <drinkcat@chromium.org> Tested-by: Nicolas Boichat <drinkcat@chromium.org> Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
-rw-r--r--board/kevin/board.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/kevin/board.h b/board/kevin/board.h
index 3c968ef18d..212611288f 100644
--- a/board/kevin/board.h
+++ b/board/kevin/board.h
@@ -45,6 +45,9 @@
#define CONFIG_BUTTON_COUNT 2
#define CONFIG_FLASH_SIZE 0x00080000 /* 512KB spi flash */
#define CONFIG_HOST_COMMAND_STATUS
+/* By default, set hcdebug to off */
+#undef CONFIG_HOSTCMD_DEBUG_MODE
+#define CONFIG_HOSTCMD_DEBUG_MODE HCDEBUG_OFF
#define CONFIG_KEYBOARD_BOARD_CONFIG
#define CONFIG_KEYBOARD_COL2_INVERTED
#define CONFIG_KEYBOARD_PROTOCOL_MKBP /* Instead of 8042 protocol of keyboard */