1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 3 #include <device/device.h> 4 #include <drivers/intel/gma/int15.h> 5 #include <southbridge/intel/bd82x6x/pch.h> 6 mainboard_init(struct device * dev)7static void mainboard_init(struct device *dev) 8 { 9 RCBA32(0x38c8) = 0x00002009; 10 RCBA32(0x38c4) = 0x00802009; 11 } 12 mainboard_enable(struct device * dev)13static void mainboard_enable(struct device *dev) 14 { 15 dev->ops->init = mainboard_init; 16 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); 20 } 21 22 struct chip_operations mainboard_ops = { 23 .enable_dev = mainboard_enable, 24 }; 25