coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
smihandler.c
Go to the documentation of this file.
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 */
12  SUPERIO_WRITE(0xf7, 0x68);
14  }
15 }
void __weak mainboard_smi_sleep(u8 slp_typ)
Definition: smihandler.c:210
uint8_t u8
Definition: stdint.h:45
#define SUPERIO_WRITE(reg, data)
Definition: superio.h:27
#define SUPERIO_UNLOCK
Definition: superio.h:18
#define SUPERIO_LOCK
Definition: superio.h:23