summaryrefslogtreecommitdiff
path: root/src/ec/acpi
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2019-10-10 15:43:42 +0200
committerArthur Heymans <arthur@aheymans.xyz>2019-10-12 12:57:04 +0000
commitb33d8ce5c7cb71117a7a65a0775c5a16c7bc4517 (patch)
treef7d7fb4f9fdd9dac1ac593abef3bd53d6d6a56d7 /src/ec/acpi
parent4fb80753f550c57cbfddd3edb3a59d1f3dd53a5a (diff)
ec/acpi/ec.c Link EC code in bootblock & verstage
This allows to read and set bits in the EC ram in the bootblock or verstage. This can be useful if one needs to read a keyboard key as an input for get_recovery_mode_switch in vboot. Change-Id: I20b2264012b2a364a4157d85bfe5a2303cc5e677 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/35950 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/ec/acpi')
-rw-r--r--src/ec/acpi/Makefile.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ec/acpi/Makefile.inc b/src/ec/acpi/Makefile.inc
index fae8fbf6b3..34c113b7ea 100644
--- a/src/ec/acpi/Makefile.inc
+++ b/src/ec/acpi/Makefile.inc
@@ -1,7 +1,9 @@
ifeq ($(CONFIG_EC_ACPI),y)
-ramstage-y += ec.c
+bootblock-y += ec.c
+verstage-y += ec.c
romstage-y += ec.c
+ramstage-y += ec.c
smm-y += ec.c
endif