summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMary Ruthven <mruthven@chromium.org>2023-04-18 11:20:13 -0500
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-04-20 18:40:33 +0000
commit5377ffc92695f973ddbe2c454c832fafef25aa97 (patch)
tree56d579f2fc4443111850d2915be0ed09f72c2f25
parent1da47fc795d0c121c7f7ac33f45b7fd7fd5f0d1a (diff)
downloadchrome-ec-5377ffc92695f973ddbe2c454c832fafef25aa97.tar.gz
cr50: only check the fwmp when its written
BUG=b:278703558,b:268352167 TEST=set the fwmp. Verify the WP policy is updated and enforced. Change-Id: I8cedfc14ecd5c51eed996abaa9f55098c6f3e673 Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4440807 Reviewed-by: Vadim Sukhomlinov <sukhomlinov@chromium.org> Commit-Queue: Vadim Sukhomlinov <sukhomlinov@chromium.org> Reviewed-by: Andrey Pronin <apronin@chromium.org> Commit-Queue: Andrey Pronin <apronin@chromium.org> (cherry picked from commit 9c36b24d3a679af918a0ad16128092c3fc2e7ceb) Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4440809 (cherry picked from commit e8ad0cd5b59897fffad55107573ff3bc41d287c9) Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4454635
-rw-r--r--board/cr50/board.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/board/cr50/board.c b/board/cr50/board.c
index d099442965..dff0b7bfac 100644
--- a/board/cr50/board.c
+++ b/board/cr50/board.c
@@ -1147,8 +1147,6 @@ static void deferred_tpm_rst_isr(void)
* then.
*/
if (!reboot_request_posted || other_rw_is_inactive()) {
- /* Update fwmp policies each boot. */
- board_fwmp_update_policies();
/* Reset TPM, no need to wait for completion. */
tpm_reset_request(0, 0);
return;