aboutsummaryrefslogtreecommitdiff
path: root/src/ec/google/wilco/Makefile.inc
diff options
context:
space:
mode:
authorDuncan Laurie <dlaurie@google.com>2018-10-15 02:40:21 +0000
committerDuncan Laurie <dlaurie@chromium.org>2018-10-31 18:29:36 +0000
commitb29e2d58f20619311110cf345545eaff39207351 (patch)
tree7ca284b62288470d5bf38f2c8ff1d590394c8519 /src/ec/google/wilco/Makefile.inc
parent2f954921b822512351410b6256fb32ea20faa3f5 (diff)
ec/google/wilco: Add devicetree chip infrastructure
Add a chip_operations structure for Wilco EC and hook it into the device tree so it can be initialized at boot. Reserve the device resources specified in Kconfig, which will also create the device IO windows if they have not been created in bootblock. If the IO windows already exist (becauase they were specified in the mainboard devicetree.cb) then this will find the existing entry instead. During device init stage prepare the keyboard for use, which is required for it to be functional in firmware and OS with this EC. Also send a command to the EC telling it to pass the power button through to the host for processing. Change-Id: I0adb01cf394f939f4a28aeb47fe4d0bcda5957d9 Signed-off-by: Duncan Laurie <dlaurie@google.com> Reviewed-on: https://review.coreboot.org/29117 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/ec/google/wilco/Makefile.inc')
-rw-r--r--src/ec/google/wilco/Makefile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ec/google/wilco/Makefile.inc b/src/ec/google/wilco/Makefile.inc
index 68172e3abe..c011ebf0e6 100644
--- a/src/ec/google/wilco/Makefile.inc
+++ b/src/ec/google/wilco/Makefile.inc
@@ -1,5 +1,5 @@
ifeq ($(CONFIG_EC_GOOGLE_WILCO),y)
-ramstage-y += commands.c mailbox.c
+ramstage-y += chip.c commands.c mailbox.c
endif