summaryrefslogtreecommitdiff
path: root/board/careena/board.h
diff options
context:
space:
mode:
authorDevin Lu <devin.lu@quantatw.com>2018-06-26 09:15:11 +0800
committerchrome-bot <chrome-bot@chromium.org>2018-07-19 02:52:05 -0700
commit97df79fcb02f046c12768497946a7eb8d6b4cffe (patch)
treedf99a901c4545594adef474c918791ac48cd96a5 /board/careena/board.h
parent4a2e6c78ef3b4578cf706c8d6bf73b7f6b7f07a6 (diff)
downloadchrome-ec-97df79fcb02f046c12768497946a7eb8d6b4cffe.tar.gz
careena: enable keyboard factory scanning
This patch is referring to CL:332322. BUG=none BRANCH=none TEST=Short keyboard pins and make sure "ectool kbfactorytest" works. Change-Id: Ic943753c8cec8dde79842de48e5d21ff4dc01c00 Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Reviewed-on: https://chromium-review.googlesource.com/1114400 Reviewed-by: Edward Hill <ecgh@chromium.org> Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'board/careena/board.h')
-rw-r--r--board/careena/board.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/board/careena/board.h b/board/careena/board.h
index 311c7ac784..e86f97c07e 100644
--- a/board/careena/board.h
+++ b/board/careena/board.h
@@ -22,6 +22,7 @@
#define CONFIG_LED_COMMON
#define CONFIG_CMD_LEDTEST
+#define CONFIG_KEYBOARD_FACTORY_TEST
#ifndef __ASSEMBLER__
@@ -38,6 +39,11 @@ enum battery_type {
BATTERY_TYPE_COUNT,
};
+#ifdef CONFIG_KEYBOARD_FACTORY_TEST
+extern const int keyboard_factory_scan_pins[][2];
+extern const int keyboard_factory_scan_pins_used;
+#endif
+
#endif /* !__ASSEMBLER__ */
#endif /* __CROS_EC_BOARD_H */