Martin Roth | 4a45ab8 | 2019-09-23 18:23:02 -0600 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Martin Roth | 4a45ab8 | 2019-09-23 18:23:02 -0600 | [diff] [blame] | 2 | |
Furquan Shaikh | 6cc1e9e | 2020-04-30 19:13:47 -0700 | [diff] [blame] | 3 | ifeq ($(CONFIG_HAVE_ACPI_TABLES),y) |
| 4 | |
| 5 | ramstage-y += acpi.c |
Kyösti Mälkki | 4a3f67a | 2020-06-18 13:44:29 +0300 | [diff] [blame] | 6 | ramstage-y += acpi_pm.c |
Furquan Shaikh | 6cc1e9e | 2020-04-30 19:13:47 -0700 | [diff] [blame] | 7 | ramstage-y += acpigen.c |
Tim Wawrzynczak | c41f7f1 | 2020-05-29 13:56:37 -0600 | [diff] [blame] | 8 | ramstage-y += acpigen_dptf.c |
Furquan Shaikh | 6cc1e9e | 2020-04-30 19:13:47 -0700 | [diff] [blame] | 9 | ramstage-y += acpigen_dsm.c |
| 10 | ramstage-y += acpigen_ps2_keybd.c |
Tim Wawrzynczak | 92d96e8 | 2020-05-19 12:38:43 -0600 | [diff] [blame] | 11 | ramstage-y += acpigen_usb.c |
Furquan Shaikh | 56a5ebf | 2020-04-30 23:56:20 -0700 | [diff] [blame] | 12 | ramstage-y += device.c |
Kyösti Mälkki | e37459e | 2020-06-17 01:04:44 +0300 | [diff] [blame] | 13 | ramstage-$(CONFIG_CHROMEOS) += chromeos-gnvs.c |
| 14 | ramstage-y += gnvs.c |
Furquan Shaikh | 56a5ebf | 2020-04-30 23:56:20 -0700 | [diff] [blame] | 15 | ramstage-y += pld.c |
Furquan Shaikh | 6cc1e9e | 2020-04-30 19:13:47 -0700 | [diff] [blame] | 16 | ramstage-y += sata.c |
Duncan Laurie | e8189b7 | 2020-04-29 12:09:32 -0700 | [diff] [blame] | 17 | ramstage-y += soundwire.c |
Furquan Shaikh | 6cc1e9e | 2020-04-30 19:13:47 -0700 | [diff] [blame] | 18 | |
Kyösti Mälkki | 4a3f67a | 2020-06-18 13:44:29 +0300 | [diff] [blame] | 19 | postcar-y += acpi_pm.c |
| 20 | |
Furquan Shaikh | e5bcc72 | 2020-04-30 23:05:11 -0700 | [diff] [blame] | 21 | ifneq ($(wildcard src/mainboard/$(MAINBOARDDIR)/acpi_tables.c),) |
| 22 | ramstage-srcs += src/mainboard/$(MAINBOARDDIR)/acpi_tables.c |
| 23 | endif |
| 24 | $(eval $(call asl_template,dsdt)) |
Furquan Shaikh | e5bcc72 | 2020-04-30 23:05:11 -0700 | [diff] [blame] | 25 | |
Kyösti Mälkki | cfc3c35 | 2020-05-31 01:58:41 +0300 | [diff] [blame] | 26 | endif # CONFIG_HAVE_ACPI_TABLES |