diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2020-12-22 06:34:02 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2021-01-19 21:07:57 +0000 |
commit | f1b0935ec43486addb3aba4e612a50045cb026ef (patch) | |
tree | 303557c782331d6339dfed8cf41155f1991084bf /src/soc/amd/stoneyridge | |
parent | b64cdebd2debf1707ed4dfc3e7240014e7f1cf7b (diff) |
soc/amd/picasso,stoneyridge: Unify set_nvs_sws()
Change-Id: I673f038b4ce3c4141db128a65be71e7a242dfd28
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/48856
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/soc/amd/stoneyridge')
-rw-r--r-- | src/soc/amd/stoneyridge/southbridge.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/soc/amd/stoneyridge/southbridge.c b/src/soc/amd/stoneyridge/southbridge.c index 1a1dc8ef9f..25781c29b7 100644 --- a/src/soc/amd/stoneyridge/southbridge.c +++ b/src/soc/amd/stoneyridge/southbridge.c @@ -402,19 +402,6 @@ static void sb_init_acpi_ports(void) PM_ACPI_TIMER_EN_EN); } -static void set_nvs_sws(void *unused) -{ - struct chipset_state *state; - - state = cbmem_find(CBMEM_ID_POWER_STATE); - if (state == NULL) - return; - - pm_fill_gnvs(&state->gpe_state); -} - -BOOT_STATE_INIT_ENTRY(BS_OS_RESUME, BS_ON_ENTRY, set_nvs_sws, NULL); - void southbridge_init(void *chip_info) { struct chipset_state *state; |