From b33d8ce5c7cb71117a7a65a0775c5a16c7bc4517 Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Thu, 10 Oct 2019 15:43:42 +0200 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/35950 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Rudolph --- src/ec/acpi/Makefile.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ec/acpi/Makefile.inc b/src/ec/acpi/Makefile.inc index fae8fbf6b366..34c113b7ea6e 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 -- cgit v1.2.3