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>
This commit is contained in:
Arthur Heymans 2019-10-10 15:43:42 +02:00
parent 4fb80753f5
commit b33d8ce5c7
1 changed files with 3 additions and 1 deletions

View File

@ -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