8a1fcf4754
Move the support code for filling ChromeOS GNVS from acpi/chromeos-gnvs.c to vc/google/chromeos/gnvs.c. Change-Id: I7e92206561812eb3dc69739df49b6c3a93853858 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/50612 Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Lance Zhao Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
26 lines
653 B
Makefile
26 lines
653 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
|
|
|
|
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
|