blob: efe36b28ae673b504fed3693327ecc0f7bc0a91a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/* Copyright 2021 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "charger.h"
#include "driver/charger/isl923x_public.h"
#include "gpio.h"
#include "system.h"
/* Corsola board specific hibernate implementation */
__override void board_hibernate_late(void)
{
#if defined(CONFIG_CHARGER_ISL9238C)
isl9238c_hibernate(CHARGER_SOLO);
#endif
gpio_set_level(GPIO_EN_ULP, 1);
/* should not reach here */
__builtin_unreachable();
}
|