1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 #include <device/device.h>
4 #include <drivers/intel/gma/int15.h>
5 #include <southbridge/intel/bd82x6x/pch.h>
7 static void mainboard_init(struct device
*dev
)
9 RCBA32(0x38c8) = 0x00002009;
10 RCBA32(0x38c4) = 0x00802009;
13 static void mainboard_enable(struct device
*dev
)
15 dev
->ops
->init
= mainboard_init
;
17 install_intel_vga_int15_handler(GMA_INT15_ACTIVE_LFP_INT_LVDS
,
18 GMA_INT15_PANEL_FIT_DEFAULT
,
19 GMA_INT15_BOOT_DISPLAY_DEFAULT
, 0);
22 struct chip_operations mainboard_ops
= {
23 .enable_dev
= mainboard_enable
,