summaryrefslogtreecommitdiff
path: root/board/spring/board.h
diff options
context:
space:
mode:
authorDavid Hendricks <dhendrix@chromium.org>2013-03-12 18:35:25 -0700
committerChromeBot <chrome-bot@google.com>2013-03-13 12:12:01 -0700
commitcdfbe88e9264cf6eb9de687f83cf0dd0b908f76e (patch)
tree0f9214269382fc09da6a9b1c50648cfde81db1a4 /board/spring/board.h
parent2823e7e13208a70c7c1b0fce56758f17049a1658 (diff)
downloadchrome-ec-cdfbe88e9264cf6eb9de687f83cf0dd0b908f76e.tar.gz
stm32: list keyboard output ports on a per-board basis
This CL moves the keyboard port listing to board.h for each mainboard to reduce board-specific clutter in keyboard_scan.c. Since the info is now exposed outside of keyboard_scan.c, a more descriptive name was chosen. Note: GPIO_D does not need to be included in this list for any current platform. BUG=none BRANCH=none Test=tested on Snow by pressing all number and letter keys Signed-off-by: David Hendricks <dhendrix@chromium.org> Change-Id: I1ce924a41cafae557467997ecba9c5abeed86211 Reviewed-on: https://gerrit.chromium.org/gerrit/45284 Reviewed-by: Vincent Palatin <vpalatin@chromium.org> Commit-Queue: David Hendricks <dhendrix@chromium.org> Tested-by: David Hendricks <dhendrix@chromium.org>
Diffstat (limited to 'board/spring/board.h')
-rw-r--r--board/spring/board.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/spring/board.h b/board/spring/board.h
index cc1b675141..1132f759c5 100644
--- a/board/spring/board.h
+++ b/board/spring/board.h
@@ -44,6 +44,7 @@
/* EC drives 13 outputs to the keyboard matrix and reads 8 inputs/interrupts */
#define KB_INPUTS 8
#define KB_OUTPUTS 13
+#define KB_OUT_PORT_LIST GPIO_B, GPIO_C
/* Charging */
#define CONFIG_SMART_BATTERY