• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #include <types.h>
4 #include <cpu/x86/smm.h>
5 #include "superio.h"
6 
mainboard_smi_sleep(u8 slp_typ)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 }
16