summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/acpi/acpi_gnvs.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/include/acpi/acpi_gnvs.h b/src/include/acpi/acpi_gnvs.h
index c0e8aed526..936a922827 100644
--- a/src/include/acpi/acpi_gnvs.h
+++ b/src/include/acpi/acpi_gnvs.h
@@ -5,22 +5,22 @@
#include <types.h>
+void acpi_create_gnvs(void);
+#if CONFIG(ACPI_SOC_NVS)
void *acpi_get_gnvs(void);
-void *gnvs_get_or_create(void);
+#else
+static inline void *acpi_get_gnvs(void) { return NULL; }
+#endif
void gnvs_assign_chromeos(void *gnvs_section);
void gnvs_set_ecfw_rw(void);
-/* Platform code must implement these. */
-struct global_nvs;
-size_t gnvs_size_of_array(void);
-uint32_t *gnvs_cbmc_ptr(struct global_nvs *gnvs);
-
/*
* These functions populate the gnvs structure in acpi table.
* Defined as weak in common acpi as gnvs structure definition is
* chipset specific.
*/
+struct global_nvs;
void soc_fill_gnvs(struct global_nvs *gnvs);
void mainboard_fill_gnvs(struct global_nvs *gnvs);