From c9ac0bcb9827ab2bef5fd7548eb13302cfd9c57d Mon Sep 17 00:00:00 2001 From: Christian Walter Date: Tue, 28 Jan 2020 19:54:33 +0100 Subject: security/tpm/tss: Add ClearControl Function Add ClearControl Function which is needed for a follow-up patch. Change-Id: Ia19185528fd821e420b0bdb424760c93b79523a4 Signed-off-by: Christian Walter Reviewed-on: https://review.coreboot.org/c/coreboot/+/38617 Tested-by: build bot (Jenkins) Reviewed-by: Philipp Deppenwiese --- src/security/tpm/tss.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/security/tpm/tss.h') diff --git a/src/security/tpm/tss.h b/src/security/tpm/tss.h index 336935d911..5237387a74 100644 --- a/src/security/tpm/tss.h +++ b/src/security/tpm/tss.h @@ -170,6 +170,11 @@ uint32_t tlcl_set_nv_locked(void); */ uint32_t tlcl_force_clear(void); +/** + * Set Clear Control. The TPM error code is returned. + */ +uint32_t tlcl_clear_control(bool disable); + /** * Set the bGlobalLock flag, which only a reboot can clear. The TPM error * code is returned. -- cgit v1.2.3