summaryrefslogtreecommitdiff
path: root/src/acpi/acpi.c
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2021-03-16 19:01:48 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2021-06-14 19:44:08 +0000
commit3dc1792f1df9a9cd982bb63d3b29cc16c08bd7f6 (patch)
treeca58c0c5d8ace4df40fa68adf9bf22c55b00a522 /src/acpi/acpi.c
parent5c124a97aaea675bdff1d690993e17bcbd901a2f (diff)
ChromeOS: Separate NVS from global GNVS
Allocate chromeos_acpi in CBMEM separately from GNVS. Change-Id: Ide55964ed53ea1d5b3c1c4e3ebd67286b7d568e4 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/51638 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'src/acpi/acpi.c')
-rw-r--r--src/acpi/acpi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/acpi/acpi.c b/src/acpi/acpi.c
index 12fa2133ac..5f9767e818 100644
--- a/src/acpi/acpi.c
+++ b/src/acpi/acpi.c
@@ -1704,6 +1704,8 @@ unsigned long write_acpi_tables(unsigned long start)
if (CONFIG(ACPI_SOC_NVS))
acpi_fill_gnvs();
+ if (CONFIG(CHROMEOS_NVS))
+ acpi_fill_cnvs();
for (dev = all_devices; dev; dev = dev->next)
if (dev->ops && dev->ops->acpi_inject_dsdt)