[PATCH 0/4] tpm: factor out tpm1 code into tpm1-cmd.c

From: Tomas Winkler
Date: Tue Mar 06 2018 - 04:35:56 EST


Move tpm 1.x implementation to tpm1-cmd.c similarly to tpm2-cmd.c
This is work in progress of possible dropping compiling out
one tpm 1.x or tpm 2.x in case not needed on a target platform.

Tomas Winkler (4):
tmp: move tpm1_pcr_extend to tpm1-cmd.c
tmp: move tpm_getcap to tpm1-cmd.c
tmp: factor out tpm1_get_random into tpm1-cmd.c
tpm: move tpm1 selftest code from tpm-interface tpm1-cmd.c

drivers/char/tpm/st33zp24/st33zp24.c | 2 +-
drivers/char/tpm/tpm-interface.c | 273 +----------------------------------
drivers/char/tpm/tpm-sysfs.c | 50 +++----
drivers/char/tpm/tpm.h | 12 +-
drivers/char/tpm/tpm1-cmd.c | 267 +++++++++++++++++++++++++++++++++-
drivers/char/tpm/tpm_tis_core.c | 4 +-
6 files changed, 303 insertions(+), 305 deletions(-)

--
2.14.3