diff options
author | Claudio Carvalho <cclaudio@linux.vnet.ibm.com> | 2016-11-28 01:08:14 -0200 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-11-29 18:33:13 +1100 |
commit | 0e46524b665e84a472599f050b895d2cfef87fcc (patch) | |
tree | 2deff15c4045972c8d5e0bd72d9f2db6788328bd /doc | |
parent | b1275bcfdbf7936b8f2a8ab11e8929b1a04aae52 (diff) | |
download | skiboot-0e46524b665e84a472599f050b895d2cfef87fcc.zip skiboot-0e46524b665e84a472599f050b895d2cfef87fcc.tar.gz skiboot-0e46524b665e84a472599f050b895d2cfef87fcc.tar.bz2 |
tpm_i2c_nuvoton: work out the polling time using mftb()
Currently, the polling time is calculated by adding the sleep time to it.
This calculates the polling time by taking timestamps with mftb() before
calling the i2c-interface to send an i2c request to the tpm. Thus having
a much more accurate polling time.
Signed-off-by: Claudio Carvalho <cclaudio@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
(cherry picked from commit 5f0dfda6e5316aaf28fe1487cd5325806f060afa)
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions