Angel Pons | 89ab250 | 2020-04-03 01:22:28 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Alexander Couzens | db50856 | 2016-10-12 04:44:19 +0200 | [diff] [blame] | 2 | |
Alexander Couzens | db50856 | 2016-10-12 04:44:19 +0200 | [diff] [blame] | 3 | #include <device/device.h> |
Alexander Couzens | db50856 | 2016-10-12 04:44:19 +0200 | [diff] [blame] | 4 | #include <drivers/intel/gma/int15.h> |
Alexander Couzens | db50856 | 2016-10-12 04:44:19 +0200 | [diff] [blame] | 5 | |
Elyes HAOUAS | 64b759e | 2018-05-05 09:11:32 +0200 | [diff] [blame] | 6 | static void mainboard_enable(struct device *dev) |
Alexander Couzens | db50856 | 2016-10-12 04:44:19 +0200 | [diff] [blame] | 7 | { |
Patrick Rudolph | c670a41 | 2017-04-28 17:28:32 +0200 | [diff] [blame] | 8 | install_intel_vga_int15_handler(GMA_INT15_ACTIVE_LFP_INT_LVDS, |
| 9 | GMA_INT15_PANEL_FIT_DEFAULT, |
| 10 | GMA_INT15_BOOT_DISPLAY_DEFAULT, 0); |
Alexander Couzens | db50856 | 2016-10-12 04:44:19 +0200 | [diff] [blame] | 11 | } |
| 12 | |
| 13 | struct chip_operations mainboard_ops = { |
| 14 | .enable_dev = mainboard_enable, |
| 15 | }; |