1 /* SPDX-License-Identifier: GPL-2.0-only */
5 #include <cpu/x86/smm.h>
7 #include <southbridge/intel/lynxpoint/pch.h>
8 #include <southbridge/intel/lynxpoint/me.h>
9 #include <northbridge/intel/haswell/haswell.h>
10 #include <cpu/intel/haswell/haswell.h>
13 * Change LED_POWER# (SIO GPIO 45) state based on sleep type.
14 * The IO address is hardcoded as we don't have device path in SMM.
16 #define SIO_GPIO_BASE_SET4 (0x730 + 3)
17 #define SIO_GPIO_BLINK_GPIO45 0x25
18 void mainboard_smi_sleep(u8 slp_typ
)
29 reg8
= inb(SIO_GPIO_BASE_SET4
);
31 outb(reg8
, SIO_GPIO_BASE_SET4
);