summaryrefslogtreecommitdiff
path: root/src/acpi/nvs.c
blob: 12d124f64f749e842f92b6474134ef18373f86ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* SPDX-License-Identifier: GPL-2.0-or-later */

#include <acpi/acpi_gnvs.h>
#include <soc/nvs.h>
#include <stdint.h>

size_t gnvs_size_of_array(void)
{
	return sizeof(struct global_nvs);
}

uint32_t *gnvs_cbmc_ptr(struct global_nvs *gnvs)
{
	return &gnvs->cbmc;
}