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 static void mainboard_enable(struct device
*dev
)
17 install_intel_vga_int15_handler(GMA_INT15_ACTIVE_LFP_EDP
, GMA_INT15_PANEL_FIT_CENTERING
, GMA_INT15_BOOT_DISPLAY_DEFAULT
, 0);
20 struct chip_operations mainboard_ops
= {
21 .enable_dev
= mainboard_enable
,