summaryrefslogtreecommitdiff
path: root/board/bds
diff options
context:
space:
mode:
authorVic Yang <victoryang@google.com>2011-12-28 16:07:34 +0800
committerVic Yang <victoryang@chromium.org>2011-12-29 12:04:03 +0800
commit5569f3e3a31b3eab85702afb37da6ecded21ba8e (patch)
tree9fc1c7e71be20d2e4565ceb0856091edbd41afd5 /board/bds
parentee6206be1d83d78027a9a4fae564aeabec972953 (diff)
downloadchrome-ec-5569f3e3a31b3eab85702afb37da6ecded21ba8e.tar.gz
Implement EC lid switch handler
Implement EC lid switch interrupt handler and debouncing. BUG=chrome-os-partner:7363 TEST=Manually test lid switch output signal is correct. Use UART console to see debouncing is correct. Change-Id: I74aad63330716da017fc4a57002349461c6a9b26
Diffstat (limited to 'board/bds')
-rw-r--r--board/bds/ec.tasklist1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/bds/ec.tasklist b/board/bds/ec.tasklist
index 8ad338a873..9a1f87398e 100644
--- a/board/bds/ec.tasklist
+++ b/board/bds/ec.tasklist
@@ -16,6 +16,7 @@
#define CONFIG_TASK_LIST \
TASK(BLINK, UserLedBlink, NULL) \
TASK(KEYSCAN, keyboard_scan_task, NULL) \
+ TASK(GPIOISR, gpio_task, NULL) \
TASK(CONSOLE, console_task, NULL) \
TASK(HOSTCMD, host_command_task, NULL) \
TASK(I8042CMD, i8042_command_task, NULL)