1 # SPDX-License-Identifier: GPL-2.0-only
3 ifeq ($(CONFIG_HAVE_ACPI_TABLES),y)
6 ramstage-y += acpigen.c
7 ramstage-y += acpigen_dptf.c
8 ramstage-y += acpigen_dsm.c
9 ramstage-$(CONFIG_PCI) += acpigen_pci.c
10 ramstage-y += acpigen_ps2_keybd.c
11 ramstage-y += acpigen_usb.c
12 ramstage-y += device.c
13 ramstage-$(CONFIG_ACPI_SOC_NVS) += gnvs.c
16 ramstage-y += soundwire.c
21 ifneq ($(wildcard src/mainboard/$(MAINBOARDDIR)/acpi_tables.c),)
22 ramstage-srcs += src/mainboard/$(MAINBOARDDIR)/acpi_tables.c
24 $(eval $(call asl_template,dsdt))
26 endif # CONFIG_HAVE_ACPI_TABLES