1 # SPDX-License-Identifier: GPL-2.0-only
3 ifeq ($(CONFIG_HAVE_ACPI_TABLES
),y
)
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
12 ramstage-
$(CONFIG_ACPI_PPTT
) += acpi_pptt.c
13 ramstage-
$(CONFIG_ACPI_IORT
) += acpi_iort.c
14 ramstage-y
+= acpigen.c
15 ramstage-y
+= acpigen_dptf.c
16 ramstage-y
+= acpigen_dsm.c
17 ramstage-
$(CONFIG_PCI
) += acpigen_pci.c
18 ramstage-y
+= acpigen_ps2_keybd.c
19 ramstage-y
+= acpigen_usb.c
20 ramstage-y
+= device.c
21 ramstage-
$(CONFIG_ACPI_SOC_NVS
) += gnvs.c
24 ramstage-y
+= soundwire.c
25 ramstage-y
+= fadt_filler.c
26 ramstage-
$(CONFIG_ACPI_COMMON_MADT_GICC_V3
) += acpi_gic.c
31 ifneq ($(wildcard src
/mainboard
/$(MAINBOARDDIR
)/acpi_tables.c
),)
32 ramstage-srcs
+= src
/mainboard
/$(MAINBOARDDIR
)/acpi_tables.c
34 $(eval
$(call asl_template
,dsdt
))
36 endif # CONFIG_HAVE_ACPI_TABLES