diff options
author | Sergii Dmytruk <sergii.dmytruk@3mdeb.com> | 2022-10-30 17:19:46 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2024-02-07 12:20:25 +0000 |
commit | 7608699a9edb7a0bbf6a2c2051fba2db781975c2 (patch) | |
tree | 9b84c20bea4eccd16c595cd027c001f6d809aff1 /src/security/tpm | |
parent | a122041be15baf7e212c4b9dee63f6b0a9cf1edb (diff) |
drivers/pc80/tpm: probe for TPM family of a device
At the moment this is to handle the situation when device ID is the
same for TPM1 and TPM2 versions of a device. Later this TPM family will
be returned to the caller.
Change-Id: I23b85e6da0e02999704f3ec30412db0bdce2dd8a
Ticket: https://ticket.coreboot.org/issues/433
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/76955
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/security/tpm')
-rw-r--r-- | src/security/tpm/tss_errors.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/security/tpm/tss_errors.h b/src/security/tpm/tss_errors.h index 8198ca1940..fc2bd87c2c 100644 --- a/src/security/tpm/tss_errors.h +++ b/src/security/tpm/tss_errors.h @@ -61,5 +61,6 @@ typedef uint32_t tpm_result_t; #define TPM_CB_RANGE ((tpm_result_t) (TPM_CB_ERROR + 0x8F)) #define TPM_CB_FAIL ((tpm_result_t) (TPM_CB_ERROR + 0x90)) #define TPM_CB_TIMEOUT ((tpm_result_t) (TPM_CB_ERROR + 0x91)) +#define TPM_CB_PROBE_FAILURE ((tpm_result_t) (TPM_CB_ERROR + 0x92)) #endif /* TSS_ERRORS_H_ */ |