diff options
author | Roberto Sassu <roberto.sassu@huawei.com> | 2017-06-23 15:41:57 +0200 |
---|---|---|
committer | James Morris <james.l.morris@oracle.com> | 2017-07-07 09:49:26 +1000 |
commit | 28707bf221ce6914a3e414637c8ffc4d27e9648d (patch) | |
tree | 7752bc9b7898cecc55df9eecc14f720b733f82d8 /drivers/char/tpm/tpm_atmel.h | |
parent | 91f7f3d773a469deeab3808d422363138295346e (diff) | |
download | talos-obmc-linux-28707bf221ce6914a3e414637c8ffc4d27e9648d.tar.gz talos-obmc-linux-28707bf221ce6914a3e414637c8ffc4d27e9648d.zip |
tpm: use tpm2_pcr_read() in tpm2_do_selftest()
tpm2_do_selftest() performs a PCR read during the TPM initialization phase.
This patch replaces the PCR read code with a call to tpm2_pcr_read().
Signed-off-by: Roberto Sassu <roberto.sassu@huawei.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkine@linux.intel.com>
Tested-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: James Morris <james.l.morris@oracle.com>
Diffstat (limited to 'drivers/char/tpm/tpm_atmel.h')
0 files changed, 0 insertions, 0 deletions