summaryrefslogtreecommitdiff
path: root/src/acpi/acpi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/acpi/acpi.c')
-rw-r--r--src/acpi/acpi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/acpi/acpi.c b/src/acpi/acpi.c
index 6f64d108f9..05ada084ab 100644
--- a/src/acpi/acpi.c
+++ b/src/acpi/acpi.c
@@ -1473,7 +1473,8 @@ unsigned long write_acpi_tables(unsigned long start)
acpigen_set_current((char *) current);
- acpi_fill_gnvs();
+ if (CONFIG(ACPI_SOC_NVS))
+ acpi_fill_gnvs();
for (dev = all_devices; dev; dev = dev->next)
if (dev->ops && dev->ops->acpi_inject_dsdt)