summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chip/npcx/system.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/chip/npcx/system.c b/chip/npcx/system.c
index a5b51c6609..544e88e05d 100644
--- a/chip/npcx/system.c
+++ b/chip/npcx/system.c
@@ -157,11 +157,15 @@ void system_check_reset_cause(void)
/* Use scratch bit to check power on reset or VCC1_RST reset */
if (!IS_BIT_SET(NPCX_RSTCTL, NPCX_RSTCTL_VCC1_RST_SCRATCH)) {
+#ifdef BOARD_WHEATLEY
+ flags |= RESET_FLAG_RESET_PIN;
+#else
/* Check for VCC1 reset */
if (IS_BIT_SET(NPCX_RSTCTL, NPCX_RSTCTL_VCC1_RST_STS))
flags |= RESET_FLAG_RESET_PIN;
else
flags |= RESET_FLAG_POWER_ON;
+#endif
}
/*