summaryrefslogtreecommitdiff
path: root/chip/npcx/system.c
diff options
context:
space:
mode:
Diffstat (limited to 'chip/npcx/system.c')
-rw-r--r--chip/npcx/system.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/chip/npcx/system.c b/chip/npcx/system.c
index 2a872d0b66..8d8dc42830 100644
--- a/chip/npcx/system.c
+++ b/chip/npcx/system.c
@@ -427,6 +427,9 @@ void system_hibernate(uint32_t seconds, uint32_t microseconds)
/* Flush console before hibernating */
cflush();
+ if (board_hibernate)
+ board_hibernate();
+
#if SUPPORT_HIB
/* Add additional hibernate operations here */
__enter_hibernate(seconds, microseconds);