<p>Christoph Pomaska has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/21861">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">mb/dell/optiplex_790: add libgfxinit (NOT WORKING)<br><br>Created a broken example for libgfxinit for Optiplex 790:<br> - The init does not work yet and also breaks graphic init done by GRUB2/OS.<br> - Screen remains black while init.<br> - Device ends up only displaying a green screen when OS is booted<br><br>Change-Id: I58570c239492b2a15b1599ca6d03714bbd8dc387<br>Signed-off-by: Christoph Pomaska <cp_public@posteo.de><br>---<br>M src/mainboard/dell/optiplex_790/Kconfig<br>M src/mainboard/dell/optiplex_790/Makefile.inc<br>A src/mainboard/dell/optiplex_790/gma-mainboard.ads<br>3 files changed, 31 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/61/21861/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/src/mainboard/dell/optiplex_790/Kconfig b/src/mainboard/dell/optiplex_790/Kconfig<br>index dd2c6f2..78f6148 100644<br>--- a/src/mainboard/dell/optiplex_790/Kconfig<br>+++ b/src/mainboard/dell/optiplex_790/Kconfig<br>@@ -7,10 +7,11 @@<br>    select HAVE_ACPI_RESUME<br>       select HAVE_ACPI_TABLES<br>       select INTEL_INT15<br>-   select NORTHBRIDGE_INTEL_SANDYBRIDGE<br>+ select NORTHBRIDGE_INTEL_IVYBRIDGE # (Actually SANDYBRIDGE)<br>   select SERIRQ_CONTINUOUS_MODE<br>         select SOUTHBRIDGE_INTEL_BD82X6X<br>      select USE_NATIVE_RAMINIT<br>+    select MAINBOARD_HAS_LIBGFXINIT<br> <br> config HAVE_IFD_BIN<br>      bool<br>diff --git a/src/mainboard/dell/optiplex_790/Makefile.inc b/src/mainboard/dell/optiplex_790/Makefile.inc<br>index 6064cea..cd0b8a6 100644<br>--- a/src/mainboard/dell/optiplex_790/Makefile.inc<br>+++ b/src/mainboard/dell/optiplex_790/Makefile.inc<br>@@ -1,3 +1,4 @@<br> romstage-y += early_southbridge.c<br> romstage-y += gpio.c<br> ramstage-y += gnvs.c<br>+ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += gma-mainboard.ads<br>diff --git a/src/mainboard/dell/optiplex_790/gma-mainboard.ads b/src/mainboard/dell/optiplex_790/gma-mainboard.ads<br>new file mode 100644<br>index 0000000..f1fa2dd<br>--- /dev/null<br>+++ b/src/mainboard/dell/optiplex_790/gma-mainboard.ads<br>@@ -0,0 +1,28 @@<br>+--<br>+-- Copyright (C) 2017 Bill XIE persmule@gmail.com<br>+--<br>+-- This program is free software; you can redistribute it and/or modify<br>+-- it under the terms of the GNU General Public License as published by<br>+-- the Free Software Foundation; either version 2 of the License, or<br>+-- (at your option) any later version.<br>+--<br>+-- This program is distributed in the hope that it will be useful,<br>+-- but WITHOUT ANY WARRANTY; without even the implied warranty of<br>+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the<br>+-- GNU General Public License for more details.<br>+--<br>+<br>+with HW.GFX.GMA;<br>+with HW.GFX.GMA.Display_Probing;<br>+<br>+use HW.GFX.GMA;<br>+use HW.GFX.GMA.Display_Probing;<br>+<br>+private package GMA.Mainboard is<br>+<br>+   ports : constant Port_List :=<br>+     (DP1,<br>+      Analog,<br>+      others => Disabled);<br>+<br>+end GMA.Mainboard;<br></pre><p>To view, visit <a href="https://review.coreboot.org/21861">change 21861</a>. To unsubscribe, visit <a href="https://review.coreboot.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://review.coreboot.org/21861"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: coreboot </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I58570c239492b2a15b1599ca6d03714bbd8dc387 </div>
<div style="display:none"> Gerrit-Change-Number: 21861 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Christoph Pomaska <cp_public@posteo.de> </div>