soc/amd: Refactor ACPI power state and ELOG

Change-Id: Ib7423c8d80355871393c377ebaffdfe2846d8852
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/49836
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
Kyösti Mälkki
2021-01-21 16:34:43 +02:00
committed by Felix Held
parent b218c20c00
commit b0db813523
8 changed files with 30 additions and 23 deletions

View File

@@ -411,7 +411,7 @@ void southbridge_init(void *chip_info)
state = cbmem_add(CBMEM_ID_POWER_STATE, sizeof(*state));
if (state) {
acpi_fill_pm_gpe_state(&state->gpe_state);
acpi_pm_gpe_add_events_print_events(&state->gpe_state);
acpi_pm_gpe_add_events_print_events();
}
acpi_clear_pm_gpe_status();