summaryrefslogtreecommitdiff
path: root/src/acpi/nvs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/acpi/nvs.c')
-rw-r--r--src/acpi/nvs.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/acpi/nvs.c b/src/acpi/nvs.c
index a7915f2164..12d124f64f 100644
--- a/src/acpi/nvs.c
+++ b/src/acpi/nvs.c
@@ -13,15 +13,3 @@ uint32_t *gnvs_cbmc_ptr(struct global_nvs *gnvs)
{
return &gnvs->cbmc;
}
-
-/* Some <soc/nvs.h> have no chromeos entry. */
-void *gnvs_chromeos_ptr(struct global_nvs *gnvs)
-{
-#if CONFIG(BOARD_EMULATION_QEMU_X86_Q35)
- return NULL;
-#elif CONFIG(MAINBOARD_HAS_CHROMEOS)
- return &gnvs->chromeos;
-#else
- return NULL;
-#endif
-}