blob: b33e22920eb987e5eb4dbdb40a319515687e5c84 [file] [log] [blame]
Angel Pons89ab2502020-04-03 01:22:28 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Edward O'Callaghan956c2982014-03-16 17:09:58 +11002
Edward O'Callaghan956c2982014-03-16 17:09:58 +11003#include <device/device.h>
Vladimir Serbinenkoa2a906e2014-09-01 01:41:37 +02004#include <drivers/intel/gma/int15.h>
Edward O'Callaghan956c2982014-03-16 17:09:58 +11005
Edward O'Callaghan956c2982014-03-16 17:09:58 +11006// mainboard_enable is executed as first thing after
7// enumerate_buses().
8
Elyes HAOUAS64b759e2018-05-05 09:11:32 +02009static void mainboard_enable(struct device *dev)
Edward O'Callaghan956c2982014-03-16 17:09:58 +110010{
Patrick Rudolphc670a412017-04-28 17:28:32 +020011 install_intel_vga_int15_handler(GMA_INT15_ACTIVE_LFP_INT_LVDS,
12 GMA_INT15_PANEL_FIT_DEFAULT,
13 GMA_INT15_BOOT_DISPLAY_DEFAULT, 0);
Edward O'Callaghan956c2982014-03-16 17:09:58 +110014}
15
Edward O'Callaghan956c2982014-03-16 17:09:58 +110016struct chip_operations mainboard_ops = {
17 .enable_dev = mainboard_enable,
18};