diff options
author | Patrick Georgi <patrick@georgi-clan.de> | 2014-09-06 17:23:30 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-08-13 00:24:37 +0200 |
commit | 33cfe9b0f8349b2a0470294387bc4d19086562f5 (patch) | |
tree | 535d6668eb4dcd593c3b145ce10a3f69be77d41a /src | |
parent | 21a78a88c6113eeeee565b610833e2dc9c5cfbaa (diff) | |
download | coreboot-33cfe9b0f8349b2a0470294387bc4d19086562f5.tar.xz |
getac/p470: Enable native VGA init
Change-Id: I6c5a2324d1a9e21f4e052678be8f0e0dbfed6494
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-on: http://review.coreboot.org/11136
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/mainboard/getac/p470/Kconfig | 5 | ||||
-rw-r--r-- | src/mainboard/getac/p470/mainboard.c | 2 |
2 files changed, 7 insertions, 0 deletions
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 <device/pci_def.h> #include <arch/io.h> #include <delay.h> +#include <drivers/intel/gma/int15.h> #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 |