blob: b610e2ef6d7a3740cadd95c2b049a6d489d4152d [file] [log] [blame]
Angel Ponsd32b6de2020-04-03 01:23:13 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Stefan Reinauere1ae4b22012-04-27 23:20:58 +02002
Stefan Reinauere1ae4b22012-04-27 23:20:58 +02003#include <device/device.h>
Vladimir Serbinenkoa2a906e2014-09-01 01:41:37 +02004#include <drivers/intel/gma/int15.h>
Stefan Reinauere1ae4b22012-04-27 23:20:58 +02005#include <southbridge/intel/bd82x6x/pch.h>
6
Stefan Reinauere1ae4b22012-04-27 23:20:58 +02007// mainboard_enable is executed as first thing after
8// enumerate_buses().
9
Elyes HAOUAS5cb876c2018-06-08 18:31:43 +020010static void mainboard_enable(struct device *dev)
Stefan Reinauere1ae4b22012-04-27 23:20:58 +020011{
Vladimir Serbinenkoa2a906e2014-09-01 01:41:37 +020012 install_intel_vga_int15_handler(GMA_INT15_ACTIVE_LFP_EDP, GMA_INT15_PANEL_FIT_CENTERING, GMA_INT15_BOOT_DISPLAY_DEFAULT, 0);
Stefan Reinauere1ae4b22012-04-27 23:20:58 +020013}
14
15struct chip_operations mainboard_ops = {
Stefan Reinauere1ae4b22012-04-27 23:20:58 +020016 .enable_dev = mainboard_enable,
17};