soc/intel/xeon_sp: Define all SMI_STS bits
As per document 336067-007US (C620 PCH datasheet), add macros for all bits in the SMI_STS register. These will be used in common code. Change-Id: I1cf4b37e2660f55a7bb7a7de977975d85dbb1ffa Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/50915 Reviewed-by: Furquan Shaikh <furquan@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
12e2e0e609
commit
e9fa37894e
|
@ -36,12 +36,29 @@
|
|||
#define GBL_SMI_EN (1 << 0)
|
||||
#define SMI_STS 0x34
|
||||
#define SMI_STS_BITS 32
|
||||
#define XHCI_SMI_STS_BIT 31
|
||||
#define ME_SMI_STS_BIT 30
|
||||
#define SERIAL_IO_SMI_STS_BIT 29
|
||||
#define ESPI_SMI_STS_BIT 28
|
||||
#define GPIO_UNLOCK_SMI_STS_BIT 27
|
||||
#define SPI_SMI_STS_BIT 26
|
||||
#define SCC_SMI_STS_BIT 25
|
||||
#define IE_SMI_STS_BIT 23
|
||||
#define MONITOR_STS_BIT 21
|
||||
#define PCI_EXP_SMI_STS_BIT 20
|
||||
#define SMBUS_SMI_STS_BIT 16
|
||||
#define SERIRQ_SMI_STS_BIT 15
|
||||
#define PERIODIC_STS_BIT 14
|
||||
#define TCO_STS_BIT 13
|
||||
#define DEVMON_STS_BIT 12
|
||||
#define MCSMI_STS_BIT 11
|
||||
#define GPIO_STS_BIT 10
|
||||
#define GPE0_STS_BIT 9
|
||||
#define PM1_STS_BIT 8
|
||||
#define SWSMI_TMR_STS_BIT 6
|
||||
#define APM_STS_BIT 5
|
||||
#define SMI_ON_SLP_EN_STS_BIT 4
|
||||
#define LEGACY_USB_STS_BIT 3
|
||||
#define BIOS_STS_BIT 2
|
||||
#define GPE_CNTL 0x42
|
||||
#define SWGPE_CTRL (1 << 1)
|
||||
|
|
Loading…
Reference in New Issue