From 33cfe9b0f8349b2a0470294387bc4d19086562f5 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Sat, 6 Sep 2014 17:23:30 +0200 Subject: getac/p470: Enable native VGA init Change-Id: I6c5a2324d1a9e21f4e052678be8f0e0dbfed6494 Signed-off-by: Patrick Georgi Reviewed-on: http://review.coreboot.org/11136 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/mainboard/getac/p470/Kconfig | 5 +++++ src/mainboard/getac/p470/mainboard.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/src/mainboard/getac/p470/Kconfig b/src/mainboard/getac/p470/Kconfig index ede25a95a8..e459ec0fce 100644 --- a/src/mainboard/getac/p470/Kconfig +++ b/src/mainboard/getac/p470/Kconfig @@ -37,6 +37,11 @@ config BOARD_SPECIFIC_OPTIONS # dummy select UDELAY_LAPIC select BOARD_ROMSIZE_KB_1024 select CHANNEL_XOR_RANDOMIZATION + select VGA + select MAINBOARD_HAS_NATIVE_VGA_INIT + select MAINBOARD_HAS_NATIVE_VGA_INIT_TEXTMODECFG + select INTEL_EDID + select INTEL_INT15 config MAINBOARD_DIR string diff --git a/src/mainboard/getac/p470/mainboard.c b/src/mainboard/getac/p470/mainboard.c index 6ee17a0455..226b9c0b00 100644 --- a/src/mainboard/getac/p470/mainboard.c +++ b/src/mainboard/getac/p470/mainboard.c @@ -23,6 +23,7 @@ #include #include #include +#include #include "ec_oem.c" @@ -81,6 +82,7 @@ static void pcie_limit_power(void) static void mainboard_init(device_t dev) { ec_enable(); + install_intel_vga_int15_handler(GMA_INT15_ACTIVE_LFP_INT_LVDS, GMA_INT15_PANEL_FIT_TXT_STRETCH, 0, 3); } // mainboard_enable is executed as first thing after -- cgit v1.2.3