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>
This commit is contained in:
parent
a122041be1
commit
7608699a9e
2 changed files with 80 additions and 25 deletions
|
|
@ -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_ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue