payloads/edk2: Disable the CPU Timer Lib unless supported
[coreboot.git] / src / mainboard / intel / dcp847ske / smihandler.c
blob8ba6a652e52a076577bc7239d7e9b3aa077e9c70
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <types.h>
4 #include <cpu/x86/smm.h>
5 #include "superio.h"
7 void mainboard_smi_sleep(u8 slp_typ)
9 if (slp_typ > 0 && slp_typ < 4) {
10 /* Enable GRN_LED [Power LED] fading */
11 SUPERIO_UNLOCK;
12 SUPERIO_WRITE(0xf7, 0x68);
13 SUPERIO_LOCK;