summaryrefslogtreecommitdiffstats
path: root/drivers/char/tpm/tpm_atmel.h
diff options
context:
space:
mode:
authorRoberto Sassu <roberto.sassu@huawei.com>2017-06-23 15:41:57 +0200
committerJames Morris <james.l.morris@oracle.com>2017-07-07 09:49:26 +1000
commit28707bf221ce6914a3e414637c8ffc4d27e9648d (patch)
tree7752bc9b7898cecc55df9eecc14f720b733f82d8 /drivers/char/tpm/tpm_atmel.h
parent91f7f3d773a469deeab3808d422363138295346e (diff)
downloadtalos-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
OpenPOWER on IntegriCloud