[Skiboot] [PATCH 00/14] tpm_i2c_nuvoton: work out pooling time using mftb()
Claudio Carvalho
cclaudio at linux.vnet.ibm.com
Mon Nov 28 14:08:00 AEDT 2016
This adds error handling code after reading and writing tpm registers and also
work out the polling time using mftb() in order to make it much more accurate.
Claudio Carvalho (14):
tpm_i2c_nuvoton: rename defines to shorter names
tpm_i2c_nuvoton: add tpm_check_status()
tpm_i2c_nuvoton: add tpm_status_read_byte()
tpm_i2c_nuvoton: handle errors after reading sts.commandReady
tpm_i2c_nuvoton: isolate the code that handles the TPM_TIMEOUT_D
timeout
tpm_i2c_nuvoton: return burst_count in tpm_read_burst_count()
tpm_i2c_nuvoton: handle errors after checking the tpm fifo status
tpm_i2c_nuvoton: handle errors after writing sts.go
tpm_i2c_nuvoton: handle errors after writing sts.commandReady in step
5
tpm_i2c_nuvoton: cleanup variables in tpm_write_fifo()
tpm_i2c_nuvoton: handle errors after writting the tpm fifo
tpm_i2c_nuvoton: cleanup variables in tpm_read_fifo()
tpm_i2c_nuvoton: handle errors after reading the tpm fifo
tpm_i2c_nuvoton: work out the polling time using mftb()
libstb/drivers/tpm_i2c_nuvoton.c | 620 +++++++++++++++++++++------------------
1 file changed, 338 insertions(+), 282 deletions(-)
--
1.9.1
More information about the Skiboot
mailing list