1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <cpu/x86/smm.h>
4 #include <device/device.h>
5 #include <drivers/intel/gma/int15.h>
7 #include <southbridge/intel/lynxpoint/pch.h>
9 void mainboard_suspend_resume(void)
11 /* Call SMM finalize() handlers before resume */
12 apm_control(APM_CNT_FINALIZE
);
15 // mainboard_enable is executed as first thing after
18 static void mainboard_enable(struct device
*dev
)
20 install_intel_vga_int15_handler(GMA_INT15_ACTIVE_LFP_EDP
, GMA_INT15_PANEL_FIT_CENTERING
, GMA_INT15_BOOT_DISPLAY_DEFAULT
, 0);
23 struct chip_operations mainboard_ops
= {
24 .enable_dev
= mainboard_enable
,