summaryrefslogtreecommitdiffstats
path: root/src/mainboard/lenovo/x230/gma-mainboard.ads
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2017-04-21 13:32:56 +0800
committerMartin Roth <martinroth@google.com>2017-04-24 19:43:00 +0200
commit166eaca9d8864daecd3f7d7382cebe1debc75244 (patch)
treefab1bbccc051b94896d02c6114fd1ff0f14b124d /src/mainboard/lenovo/x230/gma-mainboard.ads
parentf3a117908c89d29b846c0fcdd9e61c2357e18ed2 (diff)
downloadcoreboot-166eaca9d8864daecd3f7d7382cebe1debc75244.tar.gz
coreboot-166eaca9d8864daecd3f7d7382cebe1debc75244.tar.bz2
coreboot-166eaca9d8864daecd3f7d7382cebe1debc75244.zip
mb/lenovo/x230: Enable libgfxinit
Tested on X230 with an external screen connected to every one of the DP ports (miniDP on mainboard, two DP ports on dock), the GRUB payload can display on both the external screen and the internal LVDS screen. This is a copy-paste of I8e02c8003ff745d05ee272c59377174847f5219c. Change-Id: I8f270d558668c1fe41bcdcc7d6d2aa7f053c85b6 Signed-off-by: Iru Cai <mytbk920423@gmail.com> Reviewed-on: https://review.coreboot.org/19412 Reviewed-by: Nico Huber <nico.h@gmx.de> Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/mainboard/lenovo/x230/gma-mainboard.ads')
-rw-r--r--src/mainboard/lenovo/x230/gma-mainboard.ads20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/mainboard/lenovo/x230/gma-mainboard.ads b/src/mainboard/lenovo/x230/gma-mainboard.ads
new file mode 100644
index 000000000000..736dce71e0ff
--- /dev/null
+++ b/src/mainboard/lenovo/x230/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;