summaryrefslogtreecommitdiff
path: root/src/mainboard/clevo/cml-u/smihandler.c
blob: e53ab452a6fcf82bf3e93cb0b2ceb97296c7046f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* SPDX-License-Identifier: GPL-2.0-or-later */

#include <console/console.h>
#include <cpu/x86/smm.h>
#include <ec/clevo/it5570e/smm.h>
#include <intelblocks/smihandler.h>

void mainboard_smi_sleep(u8 slp_typ)
{
	printk(BIOS_DEBUG, "Mainboard SMI sleep handler: %02x\n", slp_typ);
	ec_smi_sleep(slp_typ);
}

int mainboard_smi_apmc(u8 apmc)
{
	printk(BIOS_DEBUG, "Mainboard SMI APMC handler: %02x\n", apmc);
	ec_smi_apmc(apmc);

	return 0;
}