diff options
author | David Hendricks <dhendrix@chromium.org> | 2012-05-15 13:08:31 -0700 |
---|---|---|
committer | David Hendricks <dhendrix@chromium.org> | 2012-05-15 15:13:16 -0700 |
commit | be32534e442b7f6347d1f325c205f33c1e92ba61 (patch) | |
tree | b6e6f1fb3cbbfb3e2fd2737906f0d0b0f279e7aa /board | |
parent | 50e0966af8912575d6e55d8b30fde2f2c0135807 (diff) | |
download | chrome-ec-be32534e442b7f6347d1f325c205f33c1e92ba61.tar.gz |
daisy/snow: define KB_OUTPUTS in board.h, remove KB_COLS
An upcoming CL will use the number of keyboard outputs (currently
and incorrectly called KB_COLS) in another file. So this is a good
time to clean up the naming to remove some column/row ambiguity and
move the #define to board-specific configuration.
BUG=none
TEST=locally compiled for link and daisy
Signed-off-by: David Hendricks <dhendrix@chromium.org>
Change-Id: I155e3d6f2069c582517016c1116eaf668ffca86a
Diffstat (limited to 'board')
-rw-r--r-- | board/daisy/board.h | 3 | ||||
-rw-r--r-- | board/snow/board.h | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/board/daisy/board.h b/board/daisy/board.h index 4849259ecc..f06a4cf86a 100644 --- a/board/daisy/board.h +++ b/board/daisy/board.h @@ -22,6 +22,9 @@ #define USB_CHARGE_PORT_COUNT 0 +/* EC drives 13 outputs to keyboard matrix */ +#define KB_OUTPUTS 13 + /* GPIO signal list */ enum gpio_signal { /* Inputs with interrupt handlers are first for efficiency */ diff --git a/board/snow/board.h b/board/snow/board.h index 93d219a635..6192fc1ce6 100644 --- a/board/snow/board.h +++ b/board/snow/board.h @@ -16,6 +16,9 @@ #define USB_CHARGE_PORT_COUNT 0 +/* EC drives 13 outputs to keyboard matrix */ +#define KB_OUTPUTS 13 + /* GPIO signal list */ enum gpio_signal { /* Inputs with interrupt handlers are first for efficiency */ |