summaryrefslogtreecommitdiff
path: root/src/mainboard/google/fizz/variants/karma/smihandler.c
blob: bfda24e5b56f414d6098ef2d985a642d2cc54b67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* SPDX-License-Identifier: GPL-2.0-only */

#include <acpi/acpi.h>
#include <baseboard/variants.h>
#include <gpio.h>

#define TS_ENABLE	GPP_B4

void variant_smi_sleep(u8 slp_typ)
{
	if (slp_typ == ACPI_S5) {
		/* Set TS to disable */
		gpio_set(TS_ENABLE, 0);
	}
}