2019-09-24 02:23:02 +02:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
|
2020-05-01 04:13:47 +02:00
|
|
|
ifeq ($(CONFIG_HAVE_ACPI_TABLES),y)
|
|
|
|
|
|
|
|
ramstage-y += acpi.c
|
|
|
|
ramstage-y += acpigen.c
|
2020-05-29 21:56:37 +02:00
|
|
|
ramstage-y += acpigen_dptf.c
|
2020-05-01 04:13:47 +02:00
|
|
|
ramstage-y += acpigen_dsm.c
|
2021-02-25 21:14:49 +01:00
|
|
|
ramstage-$(CONFIG_PCI) += acpigen_pci.c
|
2020-05-01 04:13:47 +02:00
|
|
|
ramstage-y += acpigen_ps2_keybd.c
|
2020-05-19 20:38:43 +02:00
|
|
|
ramstage-y += acpigen_usb.c
|
2020-05-01 08:56:20 +02:00
|
|
|
ramstage-y += device.c
|
2020-06-17 00:04:44 +02:00
|
|
|
ramstage-$(CONFIG_CHROMEOS) += chromeos-gnvs.c
|
2021-01-11 17:40:37 +01:00
|
|
|
ramstage-$(CONFIG_ACPI_SOC_NVS) += gnvs.c
|
2020-05-01 08:56:20 +02:00
|
|
|
ramstage-y += pld.c
|
2020-05-01 04:13:47 +02:00
|
|
|
ramstage-y += sata.c
|
2020-04-29 21:09:32 +02:00
|
|
|
ramstage-y += soundwire.c
|
2020-05-01 04:13:47 +02:00
|
|
|
|
2021-01-21 15:05:26 +01:00
|
|
|
all-y += acpi_pm.c
|
|
|
|
smm-y += acpi_pm.c
|
2020-06-18 12:44:29 +02:00
|
|
|
|
2020-05-01 08:05:11 +02:00
|
|
|
ifneq ($(wildcard src/mainboard/$(MAINBOARDDIR)/acpi_tables.c),)
|
|
|
|
ramstage-srcs += src/mainboard/$(MAINBOARDDIR)/acpi_tables.c
|
|
|
|
endif
|
|
|
|
$(eval $(call asl_template,dsdt))
|
|
|
|
|
2020-05-31 00:58:41 +02:00
|
|
|
endif # CONFIG_HAVE_ACPI_TABLES
|