diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2021-04-13 00:08:33 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2021-04-14 00:01:22 +0000 |
commit | 72b78910fbe5338b045c16a6103941270e9b3dba (patch) | |
tree | ce368c490776fae450210efce35f1eea753c06b7 /src/soc | |
parent | 31f7a726ff6aba214f32c10878075ba161bbe97c (diff) |
soc/amd/cezanne/fch: process ACPI PM/GPE and GPIO events
BUG=b:184549804
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: I4ebbe9667d18a96b1a363d0353c612e214699d12
Reviewed-on: https://review.coreboot.org/c/coreboot/+/52273
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc')
-rw-r--r-- | src/soc/amd/cezanne/fch.c | 6 |
1 files changed, 6 insertions, 0 deletions
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 <amdblocks/acpi.h> #include <amdblocks/acpimmio.h> #include <amdblocks/amd_pci_util.h> +#include <amdblocks/gpio_banks.h> #include <amdblocks/smi.h> #include <assert.h> #include <bootstate.h> @@ -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) |