Angel Pons | 3bd1e3d | 2020-04-05 15:47:17 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 2 | |
Subrata Banik | ece173c | 2017-12-14 18:18:34 +0530 | [diff] [blame] | 3 | #include <intelblocks/smihandler.h> |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 4 | #include <soc/pm.h> |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 5 | |
Subrata Banik | ece173c | 2017-12-14 18:18:34 +0530 | [diff] [blame] | 6 | const 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 Georgi | a7ec426 | 2020-03-11 16:31:59 +0100 | [diff] [blame] | 14 | #if CONFIG(SOC_INTEL_COMMON_BLOCK_SMM_TCO_ENABLE) |
Subrata Banik | ece173c | 2017-12-14 18:18:34 +0530 | [diff] [blame] | 15 | [TCO_STS_BIT] = smihandler_southbridge_tco, |
Patrick Georgi | a7ec426 | 2020-03-11 16:31:59 +0100 | [diff] [blame] | 16 | #endif |
Subrata Banik | ece173c | 2017-12-14 18:18:34 +0530 | [diff] [blame] | 17 | [PERIODIC_STS_BIT] = smihandler_southbridge_periodic, |
| 18 | [MONITOR_STS_BIT] = smihandler_southbridge_monitor, |
| 19 | }; |