summaryrefslogtreecommitdiff
path: root/board/cr50/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/cr50/board.c')
-rw-r--r--board/cr50/board.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/cr50/board.c b/board/cr50/board.c
index 43e4e8cd3b..1026580c5a 100644
--- a/board/cr50/board.c
+++ b/board/cr50/board.c
@@ -1191,11 +1191,13 @@ void assert_ec_rst(void)
void deassert_ec_rst(void)
{
+#ifdef CONFIG_AP_RO_VERIFICATION
if (ec_rst_override()) {
ccprintf("EC un-reset blocked, try powercycle or Cr50 reboot."
"\n");
return;
}
+#endif /* CONFIG_AP_RO_VERIFICATION */
wait_ec_rst(0);