diff options
author | Randall Spangler <rspangler@chromium.org> | 2013-03-21 13:28:11 -0700 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-03-22 11:24:29 -0700 |
commit | 10ac310605b32bf7fbd6fc83066e72e1e70a803c (patch) | |
tree | f7784c6416902032d6fd49164f9e8c1fbc94aa85 /board/mccroskey/board.h | |
parent | 743c05f01f8f2b19dbf565bee645076fff75c42d (diff) | |
download | chrome-ec-10ac310605b32bf7fbd6fc83066e72e1e70a803c.tar.gz |
Move keyboard dimension and key constants to keyboard_config.h
These were previously duplicated between multiple keyboard_scan.c and
board.c files, and there were a bunch of different constants #defined
to be 13.
BUG=chrome-os-partner:18360
BRANCH=none
TEST=compile all boards; test keyboard on spring and link
Change-Id: I91bf9d56d2a56ff25ff307ff10883ca87b6937e5
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/46165
Diffstat (limited to 'board/mccroskey/board.h')
-rw-r--r-- | board/mccroskey/board.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/board/mccroskey/board.h b/board/mccroskey/board.h index b775c66cd9..095a95fc42 100644 --- a/board/mccroskey/board.h +++ b/board/mccroskey/board.h @@ -44,9 +44,7 @@ #define USB_CHARGE_PORT_COUNT 0 -/* EC drives 13 outputs to the keyboard matrix and reads 8 inputs/interrupts */ -#define KB_INPUTS 8 -#define KB_OUTPUTS 13 +/* Keyboard output ports */ #define KB_OUT_PORT_LIST GPIO_C /* EC is I2C master */ |