88decca14f
Once platform code has filled in the (legacy) ACPI PM register map, added function will fill in the extended entries in FADT. TEST=samsung/lumpy and amd/mandolin FADT stays unchanged. Change-Id: I90925fce35458cf5480bfefc7cdddebd41b42058 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/74913 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin L Roth <gaumless@gmail.com>
27 lines
681 B
Makefile
27 lines
681 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
ifeq ($(CONFIG_HAVE_ACPI_TABLES),y)
|
|
|
|
ramstage-y += acpi.c
|
|
ramstage-y += acpigen.c
|
|
ramstage-y += acpigen_dptf.c
|
|
ramstage-y += acpigen_dsm.c
|
|
ramstage-$(CONFIG_PCI) += acpigen_pci.c
|
|
ramstage-y += acpigen_ps2_keybd.c
|
|
ramstage-y += acpigen_usb.c
|
|
ramstage-y += device.c
|
|
ramstage-$(CONFIG_ACPI_SOC_NVS) += gnvs.c
|
|
ramstage-y += pld.c
|
|
ramstage-y += sata.c
|
|
ramstage-y += soundwire.c
|
|
ramstage-y += fadt_filler.c
|
|
|
|
all-y += acpi_pm.c
|
|
smm-y += acpi_pm.c
|
|
|
|
ifneq ($(wildcard src/mainboard/$(MAINBOARDDIR)/acpi_tables.c),)
|
|
ramstage-srcs += src/mainboard/$(MAINBOARDDIR)/acpi_tables.c
|
|
endif
|
|
$(eval $(call asl_template,dsdt))
|
|
|
|
endif # CONFIG_HAVE_ACPI_TABLES
|