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
|
2020-06-18 12:44:29 +02:00
|
|
|
ramstage-y += acpi_pm.c
|
2020-05-01 04:13:47 +02:00
|
|
|
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
|
|
|
|
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
|
|
|
|
ramstage-y += gnvs.c
|
2020-06-28 15:33:33 +02:00
|
|
|
ramstage-$(CONFIG_ACPI_SOC_NVS) += nvs.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
|
|
|
|
2020-06-18 12:44:29 +02:00
|
|
|
postcar-y += acpi_pm.c
|
|
|
|
|
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
|