summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--baseboard/cherry/baseboard.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/baseboard/cherry/baseboard.c b/baseboard/cherry/baseboard.c
index 55dd5612b4..251a619aa0 100644
--- a/baseboard/cherry/baseboard.c
+++ b/baseboard/cherry/baseboard.c
@@ -90,13 +90,17 @@ __override void board_hibernate_late(void)
* Don't care for devices with Z-state.
*/
gpio_set_level(GPIO_EN_PP5000_A, 0);
- isl9238c_hibernate(CHARGER_SOLO);
gpio_set_level(GPIO_EN_SLP_Z, 1);
/* should not reach here */
__builtin_unreachable();
}
+void board_hibernate(void)
+{
+ isl9238c_hibernate(CHARGER_SOLO);
+}
+
static void board_tcpc_init(void)
{
gpio_enable_interrupt(GPIO_USB_C0_PPC_INT_ODL);