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.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/board/cr50/board.c b/board/cr50/board.c
index c36e4e9c9d..4097833662 100644
--- a/board/cr50/board.c
+++ b/board/cr50/board.c
@@ -639,6 +639,11 @@ static void board_init(void)
/* Indication that firmware is running, for debug purposes. */
GREG32(PMU, PWRDN_SCRATCH16) = 0xCAFECAFE;
+ /*
+ * Call the function twice to make it hardde to glitch execution into
+ * passing the check when not supposed to.
+ */
+ check_board_id_mismatch();
check_board_id_mismatch();
/* Enable battery cutoff software support on detachable devices. */