summaryrefslogtreecommitdiff
path: root/src/soc/amd
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/amd')
-rw-r--r--src/soc/amd/cezanne/fch.c1
-rw-r--r--src/soc/amd/common/block/cpu/smm/finalize.c2
-rw-r--r--src/soc/amd/picasso/fch.c2
-rw-r--r--src/soc/amd/stoneyridge/romstage.c1
4 files changed, 2 insertions, 4 deletions
diff --git a/src/soc/amd/cezanne/fch.c b/src/soc/amd/cezanne/fch.c
index dd19c310bc..8cd1212420 100644
--- a/src/soc/amd/cezanne/fch.c
+++ b/src/soc/amd/cezanne/fch.c
@@ -199,7 +199,6 @@ void fch_init(void *chip_info)
acpi_pm_gpe_add_events_print_events();
gpio_add_events();
- acpi_clear_pm_gpe_status();
gpp_clk_setup();
fch_clk_output_48Mhz();
diff --git a/src/soc/amd/common/block/cpu/smm/finalize.c b/src/soc/amd/common/block/cpu/smm/finalize.c
index ec975bea27..73b21216f5 100644
--- a/src/soc/amd/common/block/cpu/smm/finalize.c
+++ b/src/soc/amd/common/block/cpu/smm/finalize.c
@@ -41,6 +41,8 @@ static void soc_finalize(void *unused)
finalize_cores();
if (!acpi_is_wakeup_s3()) {
+ acpi_clear_pm_gpe_status();
+
if (CONFIG(HAVE_SMI_HANDLER))
acpi_disable_sci();
else
diff --git a/src/soc/amd/picasso/fch.c b/src/soc/amd/picasso/fch.c
index 44acc817ef..03ba914c81 100644
--- a/src/soc/amd/picasso/fch.c
+++ b/src/soc/amd/picasso/fch.c
@@ -225,8 +225,6 @@ void fch_init(void *chip_info)
acpi_pm_gpe_add_events_print_events();
gpio_add_events();
- acpi_clear_pm_gpe_status();
-
al2ahb_clock_gate();
gpp_clk_setup();
diff --git a/src/soc/amd/stoneyridge/romstage.c b/src/soc/amd/stoneyridge/romstage.c
index e316d2166a..c732f7546e 100644
--- a/src/soc/amd/stoneyridge/romstage.c
+++ b/src/soc/amd/stoneyridge/romstage.c
@@ -214,6 +214,5 @@ static void migrate_power_state(int is_recovery)
acpi_fill_pm_gpe_state(&state->gpe_state);
acpi_pm_gpe_add_events_print_events();
}
- acpi_clear_pm_gpe_status();
}
ROMSTAGE_CBMEM_INIT_HOOK(migrate_power_state)