summaryrefslogtreecommitdiffstats
path: root/src/mainboard/google/fizz/variants/karma/smihandler.c
blob: a0412b78422daacb6ff1e3520391ddcacebe20c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* SPDX-License-Identifier: GPL-2.0-only */
/* This file is part of the coreboot project. */

#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);
	}
}