• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #include <acpi/acpi.h>
4 #include <cpu/intel/haswell/haswell.h>
5 #include <cpu/x86/smm.h>
6 #include <northbridge/intel/haswell/haswell.h>
7 #include <southbridge/intel/lynxpoint/me.h>
8 #include <southbridge/intel/lynxpoint/pch.h>
9 #include <superio/ite/it8772f/it8772f.h>
10 
11 #include "onboard.h"
12 
mainboard_smi_sleep(u8 slp_typ)13 void mainboard_smi_sleep(u8 slp_typ)
14 {
15 	switch (slp_typ) {
16 	case ACPI_S3:
17 		set_power_led(LED_BLINK);
18 		break;
19 	case ACPI_S4:
20 	case ACPI_S5:
21 		set_power_led(LED_OFF);
22 		break;
23 	default:
24 		break;
25 	}
26 }
27