summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/x201/gma-mainboard.ads
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2018-07-17 16:43:16 +0200
committerFelix Held <felix-coreboot@felixheld.de>2018-07-19 16:40:24 +0000
commit94d79a338bb7f035257d3e3137c315eb1b9ea3ae (patch)
tree3ee584db2f26b1c76b925b19fc82889b318998d1 /src/mainboard/lenovo/x201/gma-mainboard.ads
parent390fb506cc0bfc840ac20a438c192fe1793612c7 (diff)
downloadcoreboot-94d79a338bb7f035257d3e3137c315eb1b9ea3ae.tar.xz
mb/lenovo/x201: Allow use of libgfxinit
Tested on LVDS (internal), VGA and HDMI (on the dock DP++ connector) output with both native resolution and textmode. Change-Id: Ibfcb586d7b4cac7f1d22540bb96c288704a277a0 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/27513 Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/lenovo/x201/gma-mainboard.ads')
-rw-r--r--src/mainboard/lenovo/x201/gma-mainboard.ads30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/mainboard/lenovo/x201/gma-mainboard.ads b/src/mainboard/lenovo/x201/gma-mainboard.ads
new file mode 100644
index 0000000000..9c2a3cb369
--- /dev/null
+++ b/src/mainboard/lenovo/x201/gma-mainboard.ads
@@ -0,0 +1,30 @@
+--
+-- This file is part of the coreboot project.
+--
+-- This program is free software; you can redistribute it and/or modify
+-- it under the terms of the GNU General Public License as published by
+-- the Free Software Foundation; either version 2 of the License, or
+-- (at your option) any later version.
+--
+-- This program is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+-- GNU General Public License for more details.
+--
+
+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 :=
+ (DP2, -- DP++ connector on the dock
+ HDMI2,
+ Analog,
+ Internal,
+ others => Disabled);
+
+end GMA.Mainboard;