From 9c36b24d3a679af918a0ad16128092c3fc2e7ceb Mon Sep 17 00:00:00 2001 From: Mary Ruthven Date: Tue, 18 Apr 2023 11:20:13 -0500 Subject: 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 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4440807 Reviewed-by: Vadim Sukhomlinov Commit-Queue: Vadim Sukhomlinov Reviewed-by: Andrey Pronin Commit-Queue: Andrey Pronin --- board/cr50/board.c | 2 -- 1 file changed, 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; -- cgit v1.2.1