Re: [PATCH v7 12/21] tpm: factor out tpm_startup function

2018-10-19 Thread Jarkko Sakkinen
On Fri, 19 Oct 2018, Tomas Winkler wrote: TPM manual startup is used only from within TPM 1.x or TPM 2.x code, hence remove tpm_startup() function from tpm-interface.c and add two static functions implementations tpm1_startup() and tpm2_startup() into to tpm1-cmd.c and tpm2-cmd.c respectively. S

[PATCH v7 12/21] tpm: factor out tpm_startup function

2018-10-19 Thread Tomas Winkler
TPM manual startup is used only from within TPM 1.x or TPM 2.x code, hence remove tpm_startup() function from tpm-interface.c and add two static functions implementations tpm1_startup() and tpm2_startup() into to tpm1-cmd.c and tpm2-cmd.c respectively. Signed-off-by: Tomas Winkler Tested-by: Jark