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>
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user