diff options
author | Vadim Bendebury <vbendeb@chromium.org> | 2017-11-16 09:59:15 -0800 |
---|---|---|
committer | Vadim Bendebury <vbendeb@chromium.org> | 2017-11-16 18:43:32 +0000 |
commit | d53185fd744f53724f8f6bcbd3a88180b2c669d0 (patch) | |
tree | 2be1850f06d7bb439582c191cdd5bcb065bf5d04 /common/tpm_registers.c | |
parent | 8c9f5147ad186560aab9dadab3cf26bd3863fe5f (diff) | |
download | chrome-ec-d53185fd744f53724f8f6bcbd3a88180b2c669d0.tar.gz |
tpm: do not prevent reading registers during pending reset
The host should be able to retrieve proper TPM status and ID registers
while TPM reset is pending.
BRANCH=cr50
BUG=b:68012381
TEST=after appropriate fixes in coreboot the
firmware_Cr50ClearTPMOwner autotest does not fail any more
Change-Id: I245656ccb1c05e46715deb18bd5f8985c4197c52
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/775281
Reviewed-by: Mary Ruthven <mruthven@chromium.org>
Diffstat (limited to 'common/tpm_registers.c')
-rw-r--r-- | common/tpm_registers.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/common/tpm_registers.c b/common/tpm_registers.c index 0596c83aa3..8c39270a7d 100644 --- a/common/tpm_registers.c +++ b/common/tpm_registers.c @@ -484,9 +484,6 @@ void tpm_register_get(uint32_t regaddr, uint8_t *dest, uint32_t data_size) { int i; - if (reset_in_progress) - return; - CPRINTF("%s(0x%06x, %d)", __func__, regaddr, data_size); switch (regaddr) { case TPM_DID_VID: |