diff options
author | Devin Lu <Devin.Lu@quantatw.com> | 2021-02-02 11:06:08 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-02-04 22:47:50 +0000 |
commit | 5019a83fef6d5d8c03dd93964dd7403f7339f450 (patch) | |
tree | 34813fdd309c2c8d3e51d3894abdf705abb0293a /board/elemi/board.h | |
parent | eb602fa5a673ffe7b333347af1cebf85f74c4990 (diff) | |
download | chrome-ec-5019a83fef6d5d8c03dd93964dd7403f7339f450.tar.gz |
elemi: Enable keyboard factory scanning
This patch add for factory keyboard connector test.
BUG=none
BRANCH=firmware-volteer-13672.B-main
TEST=Short keyboard pins and make sure "ectool kbfactorytest" works.
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Change-Id: I2acd2df29e477a564dbb6a13039d14749f81f935
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2666555
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'board/elemi/board.h')
-rw-r--r-- | board/elemi/board.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/board/elemi/board.h b/board/elemi/board.h index c9be63a60d..4f30b2aac4 100644 --- a/board/elemi/board.h +++ b/board/elemi/board.h @@ -80,6 +80,9 @@ #undef CONFIG_USBC_RETIMER_INTEL_BB #undef CONFIG_USBC_RETIMER_INTEL_BB_RUNTIME_CONFIG +/* Keyboard feature */ +#define CONFIG_KEYBOARD_FACTORY_TEST + /* * Macros for GPIO signals used in common code that don't match the * schematic names. Signal names in gpio.inc match the schematic and are @@ -147,6 +150,11 @@ enum usbc_port { void board_reset_pd_mcu(void); +#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 */ |