tpm: factor out tpm 1.x duration calculation to tpm1-cmd.c
authorTomas Winkler <tomas.winkler@intel.com>
Fri, 19 Oct 2018 18:22:50 +0000 (21:22 +0300)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Tue, 13 Nov 2018 11:46:29 +0000 (13:46 +0200)
commitb2d6e6de005edf5f2f46b7abacb69a0a1ce75c23
treef75a72219c7bc258641207083291bf155266d823
parent100b16a6f2906624764b75684922bcdc67404847
tpm: factor out tpm 1.x duration calculation to tpm1-cmd.c

Factor out TPM 1.x commands calculation into tpm1-cmd.c file.
and change the prefix from tpm_ to tpm1_.
No functional change is done here.

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Tested-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
drivers/char/tpm/Makefile
drivers/char/tpm/st33zp24/st33zp24.c
drivers/char/tpm/tpm-interface.c
drivers/char/tpm/tpm.h
drivers/char/tpm/tpm1-cmd.c [new file with mode: 0644]
drivers/char/tpm/tpm_i2c_nuvoton.c
drivers/char/tpm/tpm_tis_core.c
drivers/char/tpm/xen-tpmfront.c