summaryrefslogtreecommitdiff
path: root/src/lib/hardwaremain.c
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2021-01-11 18:40:37 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2021-01-24 19:57:17 +0000
commit37eb24be1585a76b293999df43e9a83af7d7ba09 (patch)
tree8eac61f2ff5fe10be56b29cdf375a505751642dd /src/lib/hardwaremain.c
parentcc975c5c65c27f13c00dc7eabec02386002a2c53 (diff)
ACPI: Clean up GNVS initialisation
With the common <soc/nvs.h> approach platform does not need to implement the common accessors or sizeof() function. Change-Id: I1050a252f765c763c1ae2d1610cbfb0d973ba026 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/49793 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/lib/hardwaremain.c')
-rw-r--r--src/lib/hardwaremain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/hardwaremain.c b/src/lib/hardwaremain.c
index 53ba753efe..895a942222 100644
--- a/src/lib/hardwaremain.c
+++ b/src/lib/hardwaremain.c
@@ -450,7 +450,7 @@ void main(void)
/* Initialise GNVS early. */
if (CONFIG(ACPI_SOC_NVS))
- gnvs_get_or_create();
+ acpi_create_gnvs();
/* Schedule the static boot state entries. */
boot_state_schedule_static_entries();