[coreboot-gerrit] Patch set updated for coreboot: getac/p470: Enable native VGA init

Patrick Georgi (pgeorgi@google.com) gerrit at coreboot.org
Tue Aug 11 10:36:18 CEST 2015


Patrick Georgi (pgeorgi at google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/11136

-gerrit

commit 32bcf4fe5e8fe6825fc6165056b6c708c9457773
Author: Patrick Georgi <patrick at georgi-clan.de>
Date:   Sat Sep 6 17:23:30 2014 +0200

    getac/p470: Enable native VGA init
    
    Change-Id: I6c5a2324d1a9e21f4e052678be8f0e0dbfed6494
    Signed-off-by: Patrick Georgi <patrick at georgi-clan.de>
---
 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 ede25a9..e459ec0 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 6ee17a0..226b9c0 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



More information about the coreboot-gerrit mailing list