summaryrefslogtreecommitdiff
path: root/chip/lm4/build.mk
diff options
context:
space:
mode:
authorVic Yang <victoryang@chromium.org>2012-06-20 14:47:32 +0800
committerGerrit <chrome-bot@google.com>2012-06-20 06:27:25 -0700
commitd93672660ab5fb57159b11a668d608f35afa5fe5 (patch)
tree7225e51f4aafc0b2a3cf0272f3cfe60a95e252d4 /chip/lm4/build.mk
parentb2181b1238f56703e2d0798eea6127b5c9582046 (diff)
downloadchrome-ec-d93672660ab5fb57159b11a668d608f35afa5fe5.tar.gz
lm4: Stub chip-related functions in keyboard module
This is a prepare work for keyboard scan module unit test. All functions that directly use LM4 registers are moved to stub or refactored. Signed-off-by: Vic Yang <victoryang@chromium.org> BUG=chrome-os-partner:10285 TEST=Build success. Check keyboard still works. Change-Id: Ic70a6e712c116c1e35f0407b79be2b6e6a31232a Reviewed-on: https://gerrit.chromium.org/gerrit/25725 Commit-Ready: Vic Yang <victoryang@chromium.org> Reviewed-by: Vic Yang <victoryang@chromium.org> Tested-by: Vic Yang <victoryang@chromium.org>
Diffstat (limited to 'chip/lm4/build.mk')
-rw-r--r--chip/lm4/build.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/lm4/build.mk b/chip/lm4/build.mk
index 143c76f88e..2c8abb3d8d 100644
--- a/chip/lm4/build.mk
+++ b/chip/lm4/build.mk
@@ -22,6 +22,6 @@ chip-$(CONFIG_ONEWIRE)+=onewire.o
chip-$(CONFIG_PECI)+=peci.o
chip-$(CONFIG_SPI)+=spi.o
chip-$(CONFIG_TASK_PWM)+=pwm.o
-chip-$(CONFIG_TASK_KEYSCAN)+=keyboard_scan.o
+chip-$(CONFIG_TASK_KEYSCAN)+=keyboard_scan.o keyboard_scan_stub.o
chip-$(CONFIG_TASK_POWERBTN)+=power_button.o
chip-$(CONFIG_TASK_TEMPSENSOR)+=chip_temp_sensor.o