diff options
author | Vadim Bendebury <vbendeb@chromium.org> | 2017-12-08 13:37:13 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-12-08 20:37:24 -0800 |
commit | 9e73e2235eb0b510d2a1a1cf53895cdf52cce447 (patch) | |
tree | 6b9d4d9a4bbfc76aa760d4e5d30c4f74fb98ff9f /common/tpm_registers.c | |
parent | 5ff463659c44ee9fdc5a8cb6e730ec19a91790c6 (diff) | |
download | chrome-ec-9e73e2235eb0b510d2a1a1cf53895cdf52cce447.tar.gz |
cr50: do not cache FWMP contents
Using FWMP for CCD management requires that FWMP contents could be
read even when the AP is not operational, i.e. before TPM2_Startup
command is issued.
A fix is added to the TPM2 library to allow access to FWMP contents
even if TPM is not used by the AP. With that in mind there is no need
to delay reading FWMP until TPM2_Startup command is issued. With the
console task stack increase FWMP contents can be read directly on the
console task context.
BRANCH=Cr50
BUG=b:62537474
TEST=with TPM patch applied verified that CCD can be opened when AP is
down (i.e. TPM2_Startup command was not issued).
Change-Id: Ibf4325917a512a855fc658edb9e51e4837328f43
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/817896
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Reviewed-by: Mary Ruthven <mruthven@chromium.org>
Diffstat (limited to 'common/tpm_registers.c')
-rw-r--r-- | common/tpm_registers.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/common/tpm_registers.c b/common/tpm_registers.c index 8c39270a7d..5e73d573c9 100644 --- a/common/tpm_registers.c +++ b/common/tpm_registers.c @@ -1005,10 +1005,6 @@ void tpm_task(void) */ if (command_code == TPM2_PCR_Read) system_process_retry_counter(); - - else if (command_code == TPM2_Startup) - read_fwmp(); - #ifdef CONFIG_EXTENSION_COMMAND if (!IS_CUSTOM_CODE(command_code)) #endif |