diff options
Diffstat (limited to 'drivers/tpm/tpm_tis_lpc.c')
-rw-r--r-- | drivers/tpm/tpm_tis_lpc.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/tpm/tpm_tis_lpc.c b/drivers/tpm/tpm_tis_lpc.c index d09f8cee05..3109c504f3 100644 --- a/drivers/tpm/tpm_tis_lpc.c +++ b/drivers/tpm/tpm_tis_lpc.c @@ -15,6 +15,7 @@ #include <common.h> #include <asm/io.h> +#include <tis.h> #include <tpm.h> #define PREFIX "lpc_tpm: " @@ -426,9 +427,6 @@ int tis_open(void) { u8 locality = 0; /* we use locality zero for everything. */ - if (tis_close()) - return TPM_DRIVER_ERR; - /* now request access to locality. */ tpm_write_word(TIS_ACCESS_REQUEST_USE, &lpc_tpm_dev[locality].access); |