repo.or.cz
/
coreboot.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
payloads/edk2: Disable the CPU Timer Lib unless supported
[coreboot.git]
/
src
/
mainboard
/
intel
/
dcp847ske
/
smihandler.c
blob
8ba6a652e52a076577bc7239d7e9b3aa077e9c70
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
3
#include <types.h>
4
#include <cpu/x86/smm.h>
5
#include
"superio.h"
6
7
void
mainboard_smi_sleep
(
u8 slp_typ
)
8
{
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
;
14
}
15
}