coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
pcr_gpmr.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef SOC_INTEL_COMMON_BLOCK_PCR_GPMR_H
4 #define SOC_INTEL_COMMON_BLOCK_PCR_GPMR_H
5 
6 #define GPMR_LPCLGIR1 0x2730
7 #define GPMR_DMICTL 0x2234
8 #define GPMR_DMICTL_SRLOCK (1 << 31)
9 #define GPMR_LPCGMR 0x2740
10 #define GPMR_GCS 0x274c
11 #define GPMR_GCS_BILD (1 << 0)
12 #define GPMR_LPCIOD 0x2770
13 #define GPMR_LPCIOE 0x2774
14 #define GPMR_TCOBASE 0x2778
15 #define GPMR_TCOEN (1 << 1)
16 
17 #define MAX_GPMR_REGS 3
18 
19 #define GPMR_OFFSET(x) (0x277c + (x) * 8)
20 #define GPMR_LIMIT_MASK 0xffff0000
21 #define GPMR_BASE_SHIFT 16
22 #define GPMR_BASE_MASK 0xffff
23 
24 #define GPMR_DID_OFFSET(x) (0x2780 + (x) * 8)
25 #define GPMR_EN BIT(31)
26 
27 #endif /* SOC_INTEL_COMMON_BLOCK_PCR_GPMR_H */