2020-04-05 15:47:17 +02:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
2015-05-13 03:19:47 +02:00
|
|
|
|
2017-12-14 13:48:34 +01:00
|
|
|
#include <intelblocks/smihandler.h>
|
2015-05-13 03:19:47 +02:00
|
|
|
#include <soc/pm.h>
|
|
|
|
|
2017-12-14 13:48:34 +01:00
|
|
|
const smi_handler_t southbridge_smi[SMI_STS_BITS] = {
|
|
|
|
[SMI_ON_SLP_EN_STS_BIT] = smihandler_southbridge_sleep,
|
|
|
|
[APM_STS_BIT] = smihandler_southbridge_apmc,
|
|
|
|
[PM1_STS_BIT] = smihandler_southbridge_pm1,
|
|
|
|
[GPE0_STS_BIT] = smihandler_southbridge_gpe0,
|
|
|
|
[GPIO_STS_BIT] = smihandler_southbridge_gpi,
|
|
|
|
[ESPI_SMI_STS_BIT] = smihandler_southbridge_espi,
|
|
|
|
[MCSMI_STS_BIT] = smihandler_southbridge_mc,
|
2020-03-11 16:31:59 +01:00
|
|
|
#if CONFIG(SOC_INTEL_COMMON_BLOCK_SMM_TCO_ENABLE)
|
2017-12-14 13:48:34 +01:00
|
|
|
[TCO_STS_BIT] = smihandler_southbridge_tco,
|
2020-03-11 16:31:59 +01:00
|
|
|
#endif
|
2017-12-14 13:48:34 +01:00
|
|
|
[PERIODIC_STS_BIT] = smihandler_southbridge_periodic,
|
|
|
|
[MONITOR_STS_BIT] = smihandler_southbridge_monitor,
|
|
|
|
};
|