Skip to content

Commit 1795d9d

Browse files
authored
Merge pull request #370 from FrameworkComputer/hx20.fix_powerup_on_critical_battery
fix hibernate on critical battery
2 parents a740b0b + 9faff3b commit 1795d9d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

board/hx20/board.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,12 +577,16 @@ DECLARE_HOOK(HOOK_CHIPSET_SUSPEND,
577577
board_chipset_suspend,
578578
HOOK_PRIO_DEFAULT);
579579

580+
void board_hibernate(void)
581+
{
582+
board_power_off_deferred();
583+
}
580584
void board_hibernate_late(void)
581585
{
582586
/* put host chipset into reset */
583587
gpio_set_level(GPIO_SYS_RESET_L, 0);
584588

585-
board_power_off_deferred();
589+
586590
}
587591

588592
/* according to Panel team suggest, delay 60ms to meet spec */

0 commit comments

Comments
 (0)