coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
pcr.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef _DENVERTON_NS_PCR_H_
4 #define _DENVERTON_NS_PCR_H_
5 
6 /* PCR BASE */
7 #include <soc/iomap.h>
8 
9 /* PCR address */
10 #define PCH_PCR_ADDRESS(Pid, Offset) \
11  (DEFAULT_PCR_BASE | ((uint8_t)(Pid) << 16) | (uint16_t)(Offset))
12 
13 /* PID for PCR and SBI */
14 typedef enum {
15  PID_SMB = 0xCF,
16  PID_ITSS = 0xD0,
17  PID_GPIOCOM0 = 0xC2,
18  PID_GPIOCOM1 = 0xC5,
19 } PCH_SBI_PID;
20 
21 #endif /* _DENVERTON_NS_PCR_H_ */
PCH_SBI_PID
Definition: pcr.h:14
@ PID_SMB
Definition: pcr.h:15
@ PID_GPIOCOM0
Definition: pcr.h:17
@ PID_GPIOCOM1
Definition: pcr.h:18
@ PID_ITSS
Definition: pcr.h:16