From e2d344bf2e82422a10cdcd9b1704ad08e9abd365 Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Tue, 25 Oct 2016 15:38:55 +0200 Subject: [PATCH] UPSTREAM: 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. BUG=None BRANCH=None TEST=None Signed-off-by: Nico Huber Reviewed-on: https://review.coreboot.org/17123 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth Change-Id: Ie2d1970ac1dd175a9d42651573a88cd866f19cb9 Reviewed-on: https://chromium-review.googlesource.com/410071 Commit-Ready: Furquan Shaikh Tested-by: Furquan Shaikh Reviewed-by: Aaron Durbin --- 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