blob: 52f822a6c4ee9db1d59a9753eada70e5c5342f9e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
/* SPDX-License-Identifier: GPL-2.0-only */
#include <acpi/acpi.h>
#include <ec/google/chromeec/ec.h>
#include <baseboard/variants.h>
#include <delay.h>
#include <gpio.h>
void variant_smi_sleep(u8 slp_typ)
{
/* Currently use cases here all target to S5 therefore we do early return
* here for saving one transaction to the EC for getting SKU ID. */
if (slp_typ != ACPI_S5)
return;
power_off_lte_module();
}
|