1 /* SPDX-License-Identifier: GPL-2.0-or-later */
5 #include <cpu/x86/smm.h>
6 #include <intelblocks/smihandler.h>
7 #include <superio/ite/common/ite.h>
8 #include <superio/ite/it8613e/it8613e.h>
10 #define it8613e_index (0x2e)
11 #define EC_DEV PNP_DEV(it8613e_index, IT8613E_EC)
13 void mainboard_smi_sleep(u8 slp_typ
)
15 printk(BIOS_DEBUG
, "SMI: sleep S%d\n", slp_typ
);
21 /* 5VSB_CTRL# Enabled */
22 ite_reg_write(EC_DEV
, 0xfa, 2);