blob: 177010ca21ab9cdb019cf7fb1d6c3e12ab430eb7 [file] [log] [blame]
Angel Pons3bd1e3d2020-04-05 15:47:17 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Lee Leahyb0005132015-05-12 18:19:47 -07002
Subrata Banikece173c2017-12-14 18:18:34 +05303#include <intelblocks/smihandler.h>
Lee Leahyb0005132015-05-12 18:19:47 -07004#include <soc/pm.h>
Lee Leahyb0005132015-05-12 18:19:47 -07005
Subrata Banikece173c2017-12-14 18:18:34 +05306const smi_handler_t southbridge_smi[SMI_STS_BITS] = {
7 [SMI_ON_SLP_EN_STS_BIT] = smihandler_southbridge_sleep,
8 [APM_STS_BIT] = smihandler_southbridge_apmc,
9 [PM1_STS_BIT] = smihandler_southbridge_pm1,
10 [GPE0_STS_BIT] = smihandler_southbridge_gpe0,
11 [GPIO_STS_BIT] = smihandler_southbridge_gpi,
12 [ESPI_SMI_STS_BIT] = smihandler_southbridge_espi,
13 [MCSMI_STS_BIT] = smihandler_southbridge_mc,
Patrick Georgia7ec4262020-03-11 16:31:59 +010014#if CONFIG(SOC_INTEL_COMMON_BLOCK_SMM_TCO_ENABLE)
Subrata Banikece173c2017-12-14 18:18:34 +053015 [TCO_STS_BIT] = smihandler_southbridge_tco,
Patrick Georgia7ec4262020-03-11 16:31:59 +010016#endif
Subrata Banikece173c2017-12-14 18:18:34 +053017 [PERIODIC_STS_BIT] = smihandler_southbridge_periodic,
18 [MONITOR_STS_BIT] = smihandler_southbridge_monitor,
19};