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>
This commit is contained in:
parent
c5d972d073
commit
b9cee241b9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue