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>
This commit is contained in:
Patrick Georgi 2014-09-06 17:23:30 +02:00 committed by Patrick Georgi
parent 21a78a88c6
commit 33cfe9b0f8
2 changed files with 7 additions and 0 deletions

View File

@ -37,6 +37,11 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select UDELAY_LAPIC select UDELAY_LAPIC
select BOARD_ROMSIZE_KB_1024 select BOARD_ROMSIZE_KB_1024
select CHANNEL_XOR_RANDOMIZATION 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 config MAINBOARD_DIR
string string

View File

@ -23,6 +23,7 @@
#include <device/pci_def.h> #include <device/pci_def.h>
#include <arch/io.h> #include <arch/io.h>
#include <delay.h> #include <delay.h>
#include <drivers/intel/gma/int15.h>
#include "ec_oem.c" #include "ec_oem.c"
@ -81,6 +82,7 @@ static void pcie_limit_power(void)
static void mainboard_init(device_t dev) static void mainboard_init(device_t dev)
{ {
ec_enable(); 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 // mainboard_enable is executed as first thing after