Skip to content

Commit 2375767

Browse files
committed
always power off system for ec hibernate
We dont use hibernate, so just force system off if hibernate events are triggered Signed-off-by: Kieran Levin <[email protected]>
1 parent 370e42d commit 2375767

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

board/hx20/board.c

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -582,19 +582,7 @@ void board_hibernate_late(void)
582582
/* put host chipset into reset */
583583
gpio_set_level(GPIO_SYS_RESET_L, 0);
584584

585-
/* Turn off LEDs in hibernate */
586-
/*
587-
gpio_set_level(GPIO_CHARGE_LED_1, 0);
588-
gpio_set_level(GPIO_CHARGE_LED_2, 0);
589-
*/
590-
591-
/*
592-
* Set PD wake low so that it toggles high to generate a wake
593-
* event once we leave hibernate.
594-
*/
595-
/*
596-
gpio_set_level(GPIO_USB_PD_WAKE, 0);
597-
*/
585+
board_power_off_deferred();
598586
}
599587

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

0 commit comments

Comments
 (0)