summaryrefslogtreecommitdiff
path: root/src/acpi/gnvs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/acpi/gnvs.c')
-rw-r--r--src/acpi/gnvs.c14
1 files changed, 4 insertions, 10 deletions
diff --git a/src/acpi/gnvs.c b/src/acpi/gnvs.c
index 27b4b8e82d..10a77d39de 100644
--- a/src/acpi/gnvs.c
+++ b/src/acpi/gnvs.c
@@ -68,16 +68,6 @@ void *gnvs_get_or_create(void)
return gnvs;
}
-void acpi_inject_nvsa(void)
-{
- if (!gnvs)
- return;
-
- acpigen_write_scope("\\");
- acpigen_write_name_dword("NVSA", (uintptr_t)gnvs);
- acpigen_pop_len();
-}
-
void acpi_fill_gnvs(void)
{
if (!gnvs)
@@ -85,4 +75,8 @@ void acpi_fill_gnvs(void)
soc_fill_gnvs(gnvs);
mainboard_fill_gnvs(gnvs);
+
+ acpigen_write_scope("\\");
+ acpigen_write_name_dword("NVSA", (uintptr_t)gnvs);
+ acpigen_pop_len();
}