mb/google/nissa/var/rull: add ssd timing and modify ssd GPIO pins of rtd3
[coreboot2.git] / src / security / vboot / tpm_common.h
blob22ece8927bd97d1df7551f91ca4b75e92bf8129d
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #if CONFIG(TPM)
5 /* Start of the root of trust */
6 tpm_result_t vboot_setup_tpm(struct vb2_context *ctx);
8 /* vboot_extend_pcr function for vb2 context */
9 tpm_result_t vboot_extend_pcr(struct vb2_context *ctx, int pcr,
10 enum vb2_pcr_digest which_digest);
12 #else
14 #define vboot_setup_tpm(ctx) TPM_SUCCESS
16 #define vboot_extend_pcr(ctx, pcr, which_digest) TPM_SUCCESS
18 #endif