<p>Nico Huber has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/22223">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">[WIP] mb/lenovo/x200: Enable libgfxinit<br><br>Change-Id: I361016b90cb709e2b073956f88310fb64d238b7f<br>Signed-off-by: Nico Huber <nico.h@gmx.de><br>---<br>M src/mainboard/lenovo/x200/Kconfig<br>M src/mainboard/lenovo/x200/Makefile.inc<br>A src/mainboard/lenovo/x200/gma-mainboard.ads<br>3 files changed, 23 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/23/22223/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/src/mainboard/lenovo/x200/Kconfig b/src/mainboard/lenovo/x200/Kconfig<br>index d2fcec4..1fd628c 100644<br>--- a/src/mainboard/lenovo/x200/Kconfig<br>+++ b/src/mainboard/lenovo/x200/Kconfig<br>@@ -18,6 +18,7 @@<br>        select HAVE_CMOS_DEFAULT<br>      select HAVE_ACPI_RESUME<br>       select MAINBOARD_HAS_NATIVE_VGA_INIT<br>+ select MAINBOARD_HAS_LIBGFXINIT<br>       select INTEL_INT15<br>    select SUPERIO_NSC_PC87382<br>    select DRIVERS_LENOVO_WACOM<br>diff --git a/src/mainboard/lenovo/x200/Makefile.inc b/src/mainboard/lenovo/x200/Makefile.inc<br>index 0029d32..69e8c4e 100644<br>--- a/src/mainboard/lenovo/x200/Makefile.inc<br>+++ b/src/mainboard/lenovo/x200/Makefile.inc<br>@@ -16,3 +16,5 @@<br> ramstage-y += dock.c<br> ramstage-y += cstates.c<br> ramstage-y += blc.c<br>+<br>+ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += gma-mainboard.ads<br>diff --git a/src/mainboard/lenovo/x200/gma-mainboard.ads b/src/mainboard/lenovo/x200/gma-mainboard.ads<br>new file mode 100644<br>index 0000000..736dce7<br>--- /dev/null<br>+++ b/src/mainboard/lenovo/x200/gma-mainboard.ads<br>@@ -0,0 +1,20 @@<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>+      DP2,<br>+      DP3,<br>+      HDMI1,<br>+      HDMI2,<br>+      HDMI3,<br>+      Analog,<br>+      Internal,<br>+      others => Disabled);<br>+<br>+end GMA.Mainboard;<br></pre><p>To view, visit <a href="https://review.coreboot.org/22223">change 22223</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/22223"/><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: I361016b90cb709e2b073956f88310fb64d238b7f </div>
<div style="display:none"> Gerrit-Change-Number: 22223 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Nico Huber <nico.h@gmx.de> </div>