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-18 17:07:13 +0000
commit9c36b24d3a679af918a0ad16128092c3fc2e7ceb (patch)
tree37d20977df7cf584d31dfedd06413d583f6b7593
parent23ab98d4b8a2a36d7f310953cb45622a8b72ed47 (diff)
downloadchrome-ec-9c36b24d3a679af918a0ad16128092c3fc2e7ceb.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>
-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;