diff options
author | Duncan Laurie <dlaurie@chromium.org> | 2016-09-19 16:49:23 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2016-09-21 10:44:39 +0200 |
commit | 1dc036ce4878db80d0ed9ae223b06c5d417fd03a (patch) | |
tree | 43c8c3e607f74b25a6db84a421073ee8e390d6c2 /src/device/cpu_device.c | |
parent | 3727a8d909c0323eaf21076fd5e327757911ca10 (diff) |
drivers/i2c/tpm/cr50: Clean up timeouts
Use two different timeouts in the driver. The 2ms timeout is needed
to be safe for cr50 to cover the extended timeout that is seen with
some commands. The other at 2 seconds which is a TPM spec timeout.
BUG=chrome-os-partner:53336
Change-Id: Ia396fc48b8fe6e56e7071db9d74561de02b5b50e
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: https://review.coreboot.org/16665
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/device/cpu_device.c')
0 files changed, 0 insertions, 0 deletions