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

#include <types.h>
#include <cpu/x86/smm.h>
#include "superio.h"

void mainboard_smi_sleep(u8 slp_typ)
{
	if (slp_typ > 0 && slp_typ < 4) {
		/* Enable GRN_LED [Power LED] fading */
		SUPERIO_UNLOCK;
		SUPERIO_WRITE(0xf7, 0x68);
		SUPERIO_LOCK;
	}
}