summaryrefslogtreecommitdiff
path: root/src/ec
diff options
context:
space:
mode:
authorNico Huber <nico.huber@secunet.com>2016-10-25 15:38:55 +0200
committerNico Huber <nico.h@gmx.de>2016-11-09 10:05:18 +0100
commitb9cee241b93f54d6ea1ce6c3ae9375bdeafeea6c (patch)
tree28528511f569acc4b4d8b3a63d6dda67d75d2018 /src/ec
parentc5d972d073cacb1b0b6b34b268df70e32a63246e (diff)
downloadcoreboot-b9cee241b93f54d6ea1ce6c3ae9375bdeafeea6c.tar.xz
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 <nico.huber@secunet.com> Reviewed-on: https://review.coreboot.org/17123 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/ec')
-rw-r--r--src/ec/acpi/Makefile.inc2
1 files changed, 1 insertions, 1 deletions
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