summaryrefslogtreecommitdiff
path: root/board/oak/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/oak/board.c')
-rw-r--r--board/oak/board.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/oak/board.c b/board/oak/board.c
index 1b838ffa7b..7e204a33b5 100644
--- a/board/oak/board.c
+++ b/board/oak/board.c
@@ -357,6 +357,7 @@ void board_typec_dp_set(int port, int level)
mutex_unlock(&dp_hw_lock);
}
+#if BOARD_REV < OAK_REV3
#ifndef CONFIG_AP_WARM_RESET_INTERRUPT
/* Using this hook if system doesn't have enough external line. */
static void check_ap_reset_second(void)
@@ -376,6 +377,7 @@ static void check_ap_reset_second(void)
}
DECLARE_HOOK(HOOK_SECOND, check_ap_reset_second, HOOK_PRIO_DEFAULT);
#endif
+#endif
/**
* Set AP reset.