Skip to content
Commit af402ee3 authored by Stefan Mahnke-Hartmann's avatar Stefan Mahnke-Hartmann Committed by Jarkko Sakkinen
Browse files

tpm: Add field upgrade mode support for Infineon TPM2 modules



TPM2_GetCapability with a capability that has the property type value
of TPM_PT_TOTAL_COMMANDS returns a zero length list, when an Infineon
TPM2 is in field upgrade mode.
Since an Infineon TPM2.0 in field upgrade mode returns RC_SUCCESS on
TPM2_Startup, the field upgrade mode has to be detected by
TPM2_GetCapability.

Signed-off-by: default avatarStefan Mahnke-Hartmann <stefan.mahnke-hartmann@infineon.com>
Reviewed-by: default avatarJarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: default avatarJarkko Sakkinen <jarkko@kernel.org>
parent e57b2523
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment