blob: d2751bc119b36d839a6f09cc7548e05bee613e00 [file] [log] [blame]
Damien Zammit74d165b2015-05-04 10:41:21 +10001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2015 Damien Zammit <damien@zamaudio.com>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 */
15
16#include <device/device.h>
17#include <device/pci_def.h>
18#include <device/pci_ops.h>
Damien Zammit74d165b2015-05-04 10:41:21 +100019#include <device/pci.h>
Damien Zammit761c2942016-01-26 13:55:43 +110020#include <drivers/intel/gma/int15.h>
Damien Zammit74d165b2015-05-04 10:41:21 +100021
Elyes HAOUAS4182c802018-05-04 20:46:54 +020022static void mainboard_enable(struct device *dev)
Damien Zammit74d165b2015-05-04 10:41:21 +100023{
Damien Zammit761c2942016-01-26 13:55:43 +110024 install_intel_vga_int15_handler(GMA_INT15_ACTIVE_LFP_NONE,
25 GMA_INT15_PANEL_FIT_DEFAULT, GMA_INT15_BOOT_DISPLAY_CRT, 0);
Damien Zammit74d165b2015-05-04 10:41:21 +100026}
27
28struct chip_operations mainboard_ops = {
29 .enable_dev = mainboard_enable,
30};