From 72b78910fbe5338b045c16a6103941270e9b3dba Mon Sep 17 00:00:00 2001 From: Felix Held Date: Tue, 13 Apr 2021 00:08:33 +0200 Subject: soc/amd/cezanne/fch: process ACPI PM/GPE and GPIO events BUG=b:184549804 Signed-off-by: Felix Held Change-Id: I4ebbe9667d18a96b1a363d0353c612e214699d12 Reviewed-on: https://review.coreboot.org/c/coreboot/+/52273 Reviewed-by: Raul Rangel Tested-by: build bot (Jenkins) --- src/soc/amd/cezanne/fch.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') diff --git a/src/soc/amd/cezanne/fch.c b/src/soc/amd/cezanne/fch.c index ce7ff6d315..88265abb04 100644 --- a/src/soc/amd/cezanne/fch.c +++ b/src/soc/amd/cezanne/fch.c @@ -1,7 +1,9 @@ /* SPDX-License-Identifier: GPL-2.0-only */ +#include #include #include +#include #include #include #include @@ -115,6 +117,10 @@ void fch_init(void *chip_info) { i2c_soc_init(); fch_init_acpi_ports(); + + acpi_pm_gpe_add_events_print_events(); + gpio_add_events(); + acpi_clear_pm_gpe_status(); } void fch_final(void *chip_info) -- cgit v1.2.3