aboutsummaryrefslogtreecommitdiff
path: root/src/tcgbios.c
diff options
context:
space:
mode:
authorStefan Berger <stefanb@linux.vnet.ibm.com>2015-11-30 11:14:17 -0500
committerKevin O'Connor <kevin@koconnor.net>2015-12-20 14:36:15 -0500
commit15f192fbc765ce364bc93cd6c6c974a5bb32b854 (patch)
treea3fc1b08960344c13a4a36763f6b1c9637e793bb /src/tcgbios.c
parent948f3c9b5f74f265bd171ee367a632a8f7c81f68 (diff)
downloadseabios-hppa-15f192fbc765ce364bc93cd6c6c974a5bb32b854.zip
seabios-hppa-15f192fbc765ce364bc93cd6c6c974a5bb32b854.tar.gz
seabios-hppa-15f192fbc765ce364bc93cd6c6c974a5bb32b854.tar.bz2
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 <stefanb@linux.vnet.ibm.com>
Diffstat (limited to 'src/tcgbios.c')
-rw-r--r--src/tcgbios.c5
1 files changed, 0 insertions, 5 deletions
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) {