diff options
author | Shelley Chen <shchen@chromium.org> | 2017-11-07 14:24:19 -0800 |
---|---|---|
committer | Shelley Chen <shchen@google.com> | 2017-11-16 06:06:45 +0000 |
commit | 85eb0311d2b556f8e293fda904c4cdfe2d0e24fa (patch) | |
tree | 095e30078f912514e7775f945e455872e0a37fbb /src/lib/trace.c | |
parent | 067031e0e195c4346255680821ff288b407e0b90 (diff) |
drivers/spi/tpm: Poll TPM_VALID bit until valid
In case the TPM is doing a long crypto operation the initial probe
could be very delayed. Rather than end up in recovery make the delay
long enough to accommodate the (current) long crypto times. This would
add a maximum of 30 seconds to boot time.
Mirroring changes done on i2c side in CL:756918
BUG=b:65867313, b:68729265
BRANCH=None
TEST=Make sure fizz boots up
Change-Id: Ie944bfb6fe33d6e9ee794439165716ab624be491
Signed-off-by: Shelley Chen <shchen@chromium.org>
Reviewed-on: https://review.coreboot.org/22370
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/lib/trace.c')
0 files changed, 0 insertions, 0 deletions