summaryrefslogtreecommitdiff
path: root/src/soc/amd/picasso
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2020-12-22 08:57:40 +0200
committerAngel Pons <th3fanbus@gmail.com>2021-01-13 18:28:12 +0000
commit39c16b5c6005d5a0a1890810653759ca12a1413c (patch)
tree1fe9909d1c4de51dcdf49fb90ceffbcafbb1bd94 /src/soc/amd/picasso
parenta36b8472eb35d4725b3d9e296fd24c878114a989 (diff)
soc/amd: Rename to pm_fill_gnvs()
Change-Id: I80f92bed737904e6ffc858b45459405fe76f1d04 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/48851 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Jason Glenesk <jason.glenesk@gmail.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/soc/amd/picasso')
-rw-r--r--src/soc/amd/picasso/fch.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/soc/amd/picasso/fch.c b/src/soc/amd/picasso/fch.c
index 4c8c584cbf..7479a35cab 100644
--- a/src/soc/amd/picasso/fch.c
+++ b/src/soc/amd/picasso/fch.c
@@ -148,16 +148,12 @@ static void sb_init_acpi_ports(void)
static void set_nvs_sws(void *unused)
{
struct chipset_state *state;
- struct global_nvs *gnvs;
state = cbmem_find(CBMEM_ID_POWER_STATE);
if (state == NULL)
return;
- gnvs = acpi_get_gnvs();
- if (gnvs == NULL)
- return;
- acpi_fill_gnvs(gnvs, &state->gpe_state);
+ pm_fill_gnvs(&state->gpe_state);
}
BOOT_STATE_INIT_ENTRY(BS_OS_RESUME, BS_ON_ENTRY, set_nvs_sws, NULL);