From b9cee241b93f54d6ea1ce6c3ae9375bdeafeea6c Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Tue, 25 Oct 2016 15:38:55 +0200 Subject: ec/acpi: Include ec.c unconditionally in romstage Dependencies on EC code should be specified at board level and not here. We can include the file unconditionally in romstage and let the linker decide if it's needed. Change-Id: Ie2d1970ac1dd175a9d42651573a88cd866f19cb9 Signed-off-by: Nico Huber Reviewed-on: https://review.coreboot.org/17123 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- src/ec/acpi/Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ec/acpi/Makefile.inc b/src/ec/acpi/Makefile.inc index efdd4b1e61..34fc307d5c 100644 --- a/src/ec/acpi/Makefile.inc +++ b/src/ec/acpi/Makefile.inc @@ -1,7 +1,7 @@ ifeq ($(CONFIG_EC_ACPI),y) ramstage-y += ec.c +romstage-y += ec.c smm-$(CONFIG_HAVE_SMI_HANDLER) += ec.c -romstage-$(CONFIG_BOARD_LENOVO_X201) += ec.c endif -- cgit v1.2.3