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 <nico.huber@secunet.com>
Reviewed-on: https://review.coreboot.org/17123
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>

Change-Id: Ie2d1970ac1dd175a9d42651573a88cd866f19cb9
Reviewed-on: https://chromium-review.googlesource.com/410071
Commit-Ready: Furquan Shaikh <furquan@chromium.org>
Tested-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
Nico Huber 2016-10-25 15:38:55 +02:00 committed by chrome-bot
parent 556e0ab20c
commit e2d344bf2e

View file

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