summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorVic Yang <victoryang@chromium.org>2013-04-12 15:19:50 +0800
committerChromeBot <chrome-bot@google.com>2013-04-13 03:12:21 -0700
commit27459f8600d76d5a7ccc4cc1c396ef59cb26ff19 (patch)
tree978be3bad5447b358bd9681026174d9a53ed5a65 /board
parent2b3c02bf9f3b2ddda2ece73ca8291acf2000dd08 (diff)
downloadchrome-ec-27459f8600d76d5a7ccc4cc1c396ef59cb26ff19.tar.gz
Fix test compilation error for link
Now pingpong and mutex tests compile. Still need some more work to handle the i8042-specific KEYPROTO task for keyboard tests. BUG=chrome-os-partner:18598 TEST=Build tests for link BRANCH=None Change-Id: I9ee35d4edb811f17b9a81beb799484a07c0bef14 Signed-off-by: Vic Yang <victoryang@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/47981
Diffstat (limited to 'board')
-rw-r--r--board/link/board.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/link/board.h b/board/link/board.h
index 8200a53379..7d3c7c1ceb 100644
--- a/board/link/board.h
+++ b/board/link/board.h
@@ -23,7 +23,9 @@
#define CONFIG_CHIPSET_X86
#endif
#define CONFIG_EXTPOWER_GPIO
+#ifdef CONFIG_TASK_KEYPROTO
#define CONFIG_KEYBOARD_PROTOCOL_8042
+#endif
#define CONFIG_LID_SWITCH
#define CONFIG_LPC
#define CONFIG_ONEWIRE