xref: /aosp_15_r20/external/coreboot/src/drivers/intel/ptt/ptt.h (revision b9411a12aaaa7e1e6a6fb7c5e057f44ee179a49c)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 /*
4  * This driver checks if the PTT Bit is set correctly within the FWSTS4
5  * register. This is needed in order to use the iTPM, because we have to
6  * check prior using the interface that this bit is set correctly - otherwise
7  * it could work unpredictable. The bit should already be set if the Intel ME
8  * is still in the preboot phase.
9  *
10  */
11 /*
12  * ptt_active
13  *
14  * Checks if the Intel PTT is active. If PTT is active, returns true,
15  * false otherwise.
16  */
17 bool ptt_active(void);
18