ACPI: Drop typedef global_nvs_t
Bring all GNVS related initialisation function to global scope to force identical signatures. Followup work is likely to remove some as duplicates. Change-Id: Id4299c41d79c228f3d35bc7cb9bf427ce1e82ba1 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/42489 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
committed by
Patrick Georgi
parent
bc1cb38ce1
commit
0c1dd9c841
@@ -1,6 +1,7 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#include <acpi/acpi.h>
|
||||
#include <acpi/acpi_gnvs.h>
|
||||
#include <acpi/acpigen.h>
|
||||
#include <device/mmio.h>
|
||||
#include <arch/smp/mpspec.h>
|
||||
@@ -61,7 +62,7 @@ static acpi_cstate_t cstate_map[] = {
|
||||
}
|
||||
};
|
||||
|
||||
void acpi_init_gnvs(global_nvs_t *gnvs)
|
||||
void acpi_init_gnvs(struct global_nvs *gnvs)
|
||||
{
|
||||
/* Set unknown wake source */
|
||||
gnvs->pm1i = -1;
|
||||
@@ -493,7 +494,7 @@ unsigned long southcluster_write_acpi_tables(const struct device *device, unsign
|
||||
|
||||
void southcluster_inject_dsdt(const struct device *device)
|
||||
{
|
||||
global_nvs_t *gnvs;
|
||||
struct global_nvs *gnvs;
|
||||
|
||||
gnvs = cbmem_find(CBMEM_ID_ACPI_GNVS);
|
||||
if (!gnvs) {
|
||||
|
Reference in New Issue
Block a user