summaryrefslogtreecommitdiff
path: root/board/discovery/board.h
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2013-10-23 14:28:01 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2013-10-25 01:33:10 +0000
commitc8bcc57aac120ed78337e4bfa2efb9e6b4792684 (patch)
treeaafc309df70073d205184ab6c5212c563b5f2231 /board/discovery/board.h
parent5e19f9c5d529bde4377842fc27d4d86e0b83dcf1 (diff)
downloadchrome-ec-c8bcc57aac120ed78337e4bfa2efb9e6b4792684.tar.gz
cleanup: Re-enable keyboard console channel for ARM boards
Originally, the ARM boards printed the keyboard scan matrix whenever it changed. This generated a lot of output, so we filtered that at the console channel level. When we refactored the keyboard scan module, that changed so that the scan matrix was not printed by default, and the 'ksstate' debug command was used to enable printing it. But on ARM boards, 'ksstate on' wouldn't do anything without ALSO using 'chan -1' to turn the keyboard console channel back on. And without the scan matrix printing by default, there's no reason to keep the keyboard channel off by default. BUG=chrome-os-partner:18343 BRANCH=none TEST=build all boards bang on keyboard on pit and don't see much debug output ksstate on now bang on keyboard and see matrix changes Change-Id: I554b42e7582d507530cdecad7b35df71ca0e634f Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/174373 Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Diffstat (limited to 'board/discovery/board.h')
-rw-r--r--board/discovery/board.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/board/discovery/board.h b/board/discovery/board.h
index 541568dd00..c884026975 100644
--- a/board/discovery/board.h
+++ b/board/discovery/board.h
@@ -26,9 +26,6 @@ enum module_id {
MODULE_CHIPSET,
};
-/* By default, enable all console messages except keyboard */
-#define CC_DEFAULT (CC_ALL & ~CC_MASK(CC_KEYSCAN))
-
/* Timer selection */
#define TIM_CLOCK_MSB 3
#define TIM_CLOCK_LSB 4