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
@@ -537,7 +537,7 @@ static int get_index_bit(uint32_t value, uint16_t limit)
|
||||
static void set_nvs_sws(void *unused)
|
||||
{
|
||||
struct soc_power_reg *sws;
|
||||
struct global_nvs_t *gnvs;
|
||||
struct global_nvs *gnvs;
|
||||
int index;
|
||||
|
||||
sws = cbmem_find(CBMEM_ID_POWER_STATE);
|
||||
@@ -576,7 +576,7 @@ static void set_sb_final_nvs(void)
|
||||
size_t fwsize;
|
||||
const struct device *sd, *sata;
|
||||
|
||||
struct global_nvs_t *gnvs = acpi_get_gnvs();
|
||||
struct global_nvs *gnvs = acpi_get_gnvs();
|
||||
if (gnvs == NULL)
|
||||
return;
|
||||
|
||||
|
Reference in New Issue
Block a user