diff options
author | Vic (Chun-Ju) Yang <victoryang@chromium.org> | 2013-12-10 10:33:12 +0800 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2013-12-13 02:44:10 +0000 |
commit | 22f82e28dc0788debd10499f2c93ab392cbb09bf (patch) | |
tree | d66049fdcc2a861d1b5af3ae6b2d1e08d0972e0e /chip/mec1322/build.mk | |
parent | d3fdf5e6f3243484328d3d954a1924b355ff9c21 (diff) | |
download | chrome-ec-22f82e28dc0788debd10499f2c93ab392cbb09bf.tar.gz |
mec1322: keyboard scan support
This adds keyboard scan module driver. Keyboard scan task is not enabled
yet as the LPC layer is not finished and thus i8042 protocol cannot be
enabled.
Since KSO00-KSO03 are used as JTAG, we use KSO04-KSO16 so as to preserve
JTAG functionality. Unfortunately we don't have enough KSO pins, so
trace debug port must be disabled, as done in this CL.
BUG=chrome-os-partner:24107
TEST=Set 'ksstate on'. Short KSI pins and KSO pins, and see
corresponding key shown as pressed.
TEST=Check keypress is detected when console shows 'KB wait'.
BRANCH=None
Change-Id: I366a27453ef95030d251e525313eb4627eb4340f
Signed-off-by: Vic (Chun-Ju) Yang <victoryang@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/179319
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'chip/mec1322/build.mk')
-rw-r--r-- | chip/mec1322/build.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chip/mec1322/build.mk b/chip/mec1322/build.mk index bbc040a284..60376d1a5f 100644 --- a/chip/mec1322/build.mk +++ b/chip/mec1322/build.mk @@ -18,3 +18,4 @@ chip-$(CONFIG_I2C)+=i2c.o chip-$(CONFIG_LPC)+=lpc.o chip-$(CONFIG_PWM)+=pwm.o chip-$(CONFIG_WATCHDOG)+=watchdog.o +chip-$(HAS_TASK_KEYSCAN)+=keyboard_raw.o |