This series of patches adds TPM 2 support to SeaBIOS in the way previously proposed.
TPM 2 support also changes the log entry format, which I have not addressed at all so far, and would append to the end of the series.
Stefan
Stefan Berger (9): tpm: Extend TPM TIS with TPM 2 support. tpm: Factor out tpm_extend tpm: Prepare code for TPM 2 functions tpm: Implement tpm2_startup and tpm2_s3_resume tpm: Implement tpm2_set_timeouts tpm: Implement tpm2_prepboot tpm: Implement tpm2_extend tpm: Implement tpm2_menu tpm: Implement TPM 2's set_failure
src/hw/tpm_drivers.c | 39 +++ src/hw/tpm_drivers.h | 24 ++ src/std/tcg.h | 110 ++++++++ src/tcgbios.c | 692 ++++++++++++++++++++++++++++++++++++++++++--------- 4 files changed, 749 insertions(+), 116 deletions(-)