summaryrefslogtreecommitdiff
path: root/src/mainboard/getac
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/getac')
-rw-r--r--src/mainboard/getac/p470/Kconfig5
-rw-r--r--src/mainboard/getac/p470/mainboard.c2
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