summaryrefslogtreecommitdiff
path: root/src/mainboard/intel/dcp847ske/smihandler.c
blob: a8b6560a143ff2fbd9073bc308b92281b0852ddf (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 <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;
	}
}