From: Stefan Berger Date: Mon, 30 Nov 2015 16:14:17 +0000 (-0500) Subject: tpm: Remove check for working TPM from TPM interrupt handler X-Git-Tag: rel-1.10.0~139 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=15f192fbc765ce364bc93cd6c6c974a5bb32b854;p=seabios.git tpm: Remove check for working TPM from TPM interrupt handler Remove the check for a working TPM from the TPM interrupt handler. This then allows the individual API calls to return information even if the TPM was not working correctly. Some API calls will still run into the check. Signed-off-by: Stefan Berger --- diff --git a/src/tcgbios.c b/src/tcgbios.c index d1a7f6b..c17d80d 100644 --- a/src/tcgbios.c +++ b/src/tcgbios.c @@ -1102,11 +1102,6 @@ tpm_interrupt_handler32(struct bregs *regs) set_cf(regs, 0); - if (!has_working_tpm()) { - regs->eax = TCG_GENERAL_ERROR; - return; - } - switch ((enum irq_ids)regs->al) { case TCG_StatusCheck: if (is_tpm_present() == 0) {