mb/starlabs/{lite_adl,byte_adl}: Don't select MAINBOARD_HAS_TPM2
[coreboot2.git] / src / acpi / Makefile.mk
blobe9d5cb0fda6db6582387d4639170a4fa3be63062
1 # SPDX-License-Identifier: GPL-2.0-only
3 ifeq ($(CONFIG_HAVE_ACPI_TABLES),y)
5 ramstage-y += acpi.c
6 ifeq ($(CONFIG_ARCH_RAMSTAGE_X86_32)$(CONFIG_ARCH_RAMSTAGE_X86_64),y)
7 ramstage-y += acpi_apic.c
8 ramstage-y += acpi_dmar.c
9 ramstage-y += acpi_hpet.c
10 ramstage-y += acpigen_pci_root_resource_producer.c
11 endif
12 ramstage-$(CONFIG_ACPI_PPTT) += acpi_pptt.c
13 ramstage-y += acpigen.c
14 ramstage-y += acpigen_dptf.c
15 ramstage-y += acpigen_dsm.c
16 ramstage-$(CONFIG_PCI) += acpigen_pci.c
17 ramstage-y += acpigen_ps2_keybd.c
18 ramstage-y += acpigen_usb.c
19 ramstage-y += device.c
20 ramstage-$(CONFIG_ACPI_SOC_NVS) += gnvs.c
21 ramstage-y += pld.c
22 ramstage-y += sata.c
23 ramstage-y += soundwire.c
24 ramstage-y += fadt_filler.c
25 ramstage-$(CONFIG_ACPI_COMMON_MADT_GICC_V3) += acpi_gic.c
27 all-y += acpi_pm.c
28 smm-y += acpi_pm.c
30 ifneq ($(wildcard src/mainboard/$(MAINBOARDDIR)/acpi_tables.c),)
31 ramstage-srcs += src/mainboard/$(MAINBOARDDIR)/acpi_tables.c
32 endif
33 $(eval $(call asl_template,dsdt))
35 endif # CONFIG_HAVE_ACPI_TABLES