2 * This file is part of the coreboot project.
4 * Copyright (C) 2007-2009 coresystems GmbH
5 * Copyright (C) 2011-2012 Google Inc.
6 * Copyright (C) 2014 Vladimir Serbinenko
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; version 2 of the License.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
18 #include <device/device.h>
19 #include <drivers/intel/gma/int15.h>
20 #include <ec/lenovo/h8/h8.h>
22 static void mainboard_enable(struct device
*dev
)
24 install_intel_vga_int15_handler(GMA_INT15_ACTIVE_LFP_INT_LVDS
,
25 GMA_INT15_PANEL_FIT_DEFAULT
,
26 GMA_INT15_BOOT_DISPLAY_DEFAULT
, 0);
29 void h8_mainboard_init_dock(void)
33 struct chip_operations mainboard_ops
= {
34 .enable_dev
= mainboard_enable
,