From 2ab4a96668df843da480727ff03974a027db28b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Tue, 30 Jun 2020 11:41:47 +0300 Subject: ACPI: Add common acpi_fill_gnvs() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I515e830808a95eee3ce72b16fd26da6ec79dac85 Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/coreboot/+/48718 Reviewed-by: Lance Zhao Reviewed-by: Angel Pons Tested-by: build bot (Jenkins) --- src/acpi/acpi.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/acpi/acpi.c') diff --git a/src/acpi/acpi.c b/src/acpi/acpi.c index ee30391923..6f64d108f9 100644 --- a/src/acpi/acpi.c +++ b/src/acpi/acpi.c @@ -1472,6 +1472,9 @@ unsigned long write_acpi_tables(unsigned long start) current += sizeof(acpi_header_t); acpigen_set_current((char *) current); + + acpi_fill_gnvs(); + for (dev = all_devices; dev; dev = dev->next) if (dev->ops && dev->ops->acpi_inject_dsdt) dev->ops->acpi_inject_dsdt(dev); -- cgit v1.2.3