[coreboot-gerrit] Change in coreboot[master]: [WIP] mb/lenovo/x200: Enable libgfxinit
Nico Huber (Code Review)
gerrit at coreboot.org
Sun Oct 29 15:45:16 CET 2017
Nico Huber has uploaded this change for review. ( https://review.coreboot.org/22223
Change subject: [WIP] mb/lenovo/x200: Enable libgfxinit
......................................................................
[WIP] mb/lenovo/x200: Enable libgfxinit
Change-Id: I361016b90cb709e2b073956f88310fb64d238b7f
Signed-off-by: Nico Huber <nico.h at gmx.de>
---
M src/mainboard/lenovo/x200/Kconfig
M src/mainboard/lenovo/x200/Makefile.inc
A src/mainboard/lenovo/x200/gma-mainboard.ads
3 files changed, 23 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/23/22223/1
diff --git a/src/mainboard/lenovo/x200/Kconfig b/src/mainboard/lenovo/x200/Kconfig
index d2fcec4..1fd628c 100644
--- a/src/mainboard/lenovo/x200/Kconfig
+++ b/src/mainboard/lenovo/x200/Kconfig
@@ -18,6 +18,7 @@
select HAVE_CMOS_DEFAULT
select HAVE_ACPI_RESUME
select MAINBOARD_HAS_NATIVE_VGA_INIT
+ select MAINBOARD_HAS_LIBGFXINIT
select INTEL_INT15
select SUPERIO_NSC_PC87382
select DRIVERS_LENOVO_WACOM
diff --git a/src/mainboard/lenovo/x200/Makefile.inc b/src/mainboard/lenovo/x200/Makefile.inc
index 0029d32..69e8c4e 100644
--- a/src/mainboard/lenovo/x200/Makefile.inc
+++ b/src/mainboard/lenovo/x200/Makefile.inc
@@ -16,3 +16,5 @@
ramstage-y += dock.c
ramstage-y += cstates.c
ramstage-y += blc.c
+
+ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += gma-mainboard.ads
diff --git a/src/mainboard/lenovo/x200/gma-mainboard.ads b/src/mainboard/lenovo/x200/gma-mainboard.ads
new file mode 100644
index 0000000..736dce7
--- /dev/null
+++ b/src/mainboard/lenovo/x200/gma-mainboard.ads
@@ -0,0 +1,20 @@
+with HW.GFX.GMA;
+with HW.GFX.GMA.Display_Probing;
+
+use HW.GFX.GMA;
+use HW.GFX.GMA.Display_Probing;
+
+private package GMA.Mainboard is
+
+ ports : constant Port_List :=
+ (DP1,
+ DP2,
+ DP3,
+ HDMI1,
+ HDMI2,
+ HDMI3,
+ Analog,
+ Internal,
+ others => Disabled);
+
+end GMA.Mainboard;
--
To view, visit https://review.coreboot.org/22223
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I361016b90cb709e2b073956f88310fb64d238b7f
Gerrit-Change-Number: 22223
Gerrit-PatchSet: 1
Gerrit-Owner: Nico Huber <nico.h at gmx.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20171029/d35a10e3/attachment-0001.html>
More information about the coreboot-gerrit
mailing list