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 8123b9afcc..8e01f9955c 100644
--- a/chip/npcx/system.c
+++ b/chip/npcx/system.c
@@ -491,6 +491,9 @@ void system_enable_hib_interrupt(void)
void system_hibernate(uint32_t seconds, uint32_t microseconds)
{
+ if (board_hibernate)
+ board_hibernate();
+
/* Flush console before hibernating */
cflush();