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>
This commit is contained in:
Kyösti Mälkki
2021-03-16 19:01:48 +02:00
parent 5c124a97aa
commit 3dc1792f1d
7 changed files with 28 additions and 24 deletions

View File

@ -24,6 +24,7 @@
#include <timer.h>
#include <timestamp.h>
#include <thread.h>
#include <vendorcode/google/chromeos/gnvs.h>
static boot_state_t bs_pre_device(void *arg);
static boot_state_t bs_dev_init_chips(void *arg);
@ -461,6 +462,9 @@ void main(void)
if (CONFIG(ACPI_SOC_NVS))
acpi_create_gnvs();
if (CONFIG(CHROMEOS_NVS))
chromeos_init_chromeos_acpi();
/* Schedule the static boot state entries. */
boot_state_schedule_static_entries();