diff options
author | Randall Spangler <rspangler@chromium.org> | 2012-03-02 10:16:43 -0800 |
---|---|---|
committer | Randall Spangler <rspangler@chromium.org> | 2012-03-05 09:23:51 -0800 |
commit | 2464e96469a816cf4144da4f0e7b957372181325 (patch) | |
tree | cb53b80bc76a6536cade7283891aaeff3e3264fc /common/build.mk | |
parent | 2ae113da5510fed2f0f24743802f5de023473256 (diff) | |
download | chrome-ec-2464e96469a816cf4144da4f0e7b957372181325.tar.gz |
Add SMI/SCI support
BUG=chrome-os-partner:8277
TEST=manual
On EC console:
hostevent set 0x1e
From root shell:
ectool eventget --> should return 0x1e
ectool eventclear 0x02
ectool eventget --> should return 0x1c
ectool queryec --> should return event 3
ectool queryec --> should return event 4
ectool queryec --> should return event 5
ectool queryec --> should return no event pending
ectool eventsetsmimask 0x1200
ectool eventsetscimask 0x0034
ectool eventgetsmimask --> should return 0x1200
ectool eventgetscimask --> should return 0x0034
On EC console:
hostevent --> should show raw=0 SMI mask = 0x1200 SCI mask = 0x34
Change-Id: I33042fa80c0b148cd63209a94a184af493e25ed3
Diffstat (limited to 'common/build.mk')
-rw-r--r-- | common/build.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/build.mk b/common/build.mk index b3bddde5e1..ece74002e6 100644 --- a/common/build.mk +++ b/common/build.mk @@ -8,7 +8,7 @@ common-y=main.o util.o console.o vboot.o uart_buffering.o usb_charge_commands.o common-y+=memory_commands.o shared_mem.o system.o usb_charge.o common-y+=gpio_commands.o version.o -common-$(CONFIG_LPC)+=port80.o +common-$(CONFIG_LPC)+=port80.o host_event_commands.o common-$(CONFIG_TASK_HOSTCMD)+=host_command.o common-$(CONFIG_TASK_I8042CMD)+=i8042.o keyboard.o common-$(CONFIG_TASK_X86POWER)+=x86_power.o |