summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--board/cr50/ap_state.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/cr50/ap_state.c b/board/cr50/ap_state.c
index 18cad12254..97b08acbb3 100644
--- a/board/cr50/ap_state.c
+++ b/board/cr50/ap_state.c
@@ -111,9 +111,11 @@ void tpm_rst_asserted(enum gpio_signal unused)
{
CPRINTS("%s", __func__);
+#ifdef CONFIG_AP_RO_VERIFICATION
/* Clear AP RO verification state since this is a new boot. */
if (!tpm_reset_in_progress())
ap_ro_device_reset();
+#endif
/*
* It's possible the signal is being pulsed. Wait 1 second to disable
* functionality, so it's more likely the AP is fully off and not being