1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <cpu/x86/smm.h>
4 #include <southbridge/intel/common/pmutil.h>
8 int mainboard_smi_apmc(u8 data
)
11 case APM_CNT_ACPI_ENABLE
:
12 /* route H8SCI to SCI */
13 gpi_route_interrupt(GPE_EC_SCI
, GPI_IS_SCI
);
15 case APM_CNT_ACPI_DISABLE
:
16 /* route H8SCI# to SMI */
17 gpi_route_interrupt(GPE_EC_SCI
, GPI_IS_SMI
);