summaryrefslogtreecommitdiffstats
path: root/src/acpi/Makefile.inc
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2021-02-10 17:53:34 +0200
committerPatrick Georgi <pgeorgi@google.com>2021-04-21 09:27:31 +0000
commit84d10cc5d38d706ffecd0cd60f6e1f9d90064f96 (patch)
treef5497cb6cb0c236cbb0b1ab002e75d8e73e5efe4 /src/acpi/Makefile.inc
parent307be997d1acd604a573e2ab895ef10570454fc4 (diff)
downloadcoreboot-84d10cc5d38d706ffecd0cd60f6e1f9d90064f96.tar.gz
coreboot-84d10cc5d38d706ffecd0cd60f6e1f9d90064f96.tar.bz2
coreboot-84d10cc5d38d706ffecd0cd60f6e1f9d90064f96.zip
ChromeOS: Use CHROMEOS_NVS guard
Replace CONFIG(CHROMEOS) with CONFIG(CHROMEOS_NVS) for cases where the conditional and dependency are clearly about the presence of an ACPI NVS table specified by vendorcode. For couple locations also CONFIG(HAVE_ACPI_TABLES) changes to CONFIG(CHROMEOS_NVS). This also helps find some of the CONFIG(CHROMEOS) cases that might be more FMAP and VPD related and not about ChromeOS per-se, as suggested by followup works. Change-Id: Ife888ae43093949bb2d3e397565033037396f434 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/50611 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Lance Zhao Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/acpi/Makefile.inc')
-rw-r--r--src/acpi/Makefile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/acpi/Makefile.inc b/src/acpi/Makefile.inc
index b8e44221af04..3c3bd9ed12a1 100644
--- a/src/acpi/Makefile.inc
+++ b/src/acpi/Makefile.inc
@@ -10,7 +10,7 @@ ramstage-$(CONFIG_PCI) += acpigen_pci.c
ramstage-y += acpigen_ps2_keybd.c
ramstage-y += acpigen_usb.c
ramstage-y += device.c
-ramstage-$(CONFIG_CHROMEOS) += chromeos-gnvs.c
+ramstage-$(CONFIG_CHROMEOS_NVS) += chromeos-gnvs.c
ramstage-$(CONFIG_ACPI_SOC_NVS) += gnvs.c
ramstage-y += pld.c
ramstage-y += sata.c