summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2017-04-18 21:44:50 +0200
committerMartin Roth <martinroth@google.com>2017-04-24 19:15:12 +0200
commitb7f28700f4e114a12215842d31e29af734a191e2 (patch)
tree4593e6a6e1f70b300394bae36eccd181429d7112 /src
parent5b4d2cfc73f200e474567adb4d7192faf316e43a (diff)
downloadcoreboot-b7f28700f4e114a12215842d31e29af734a191e2.tar.xz
mb/sapphire/pureplatinumh61: Update GMA config
This board was added while the latest libgfxinit changes were in review. Update to make it compile again and sanitize the port list. Change-Id: I81b96e225945a8f8e47b64cefea91eb2747675ca Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/19353 Tested-by: build bot (Jenkins) Reviewed-by: Nicola Corna <nicola@corna.info>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/sapphire/pureplatinumh61/Kconfig1
-rw-r--r--src/mainboard/sapphire/pureplatinumh61/gma-mainboard.ads18
2 files changed, 12 insertions, 7 deletions
diff --git a/src/mainboard/sapphire/pureplatinumh61/Kconfig b/src/mainboard/sapphire/pureplatinumh61/Kconfig
index c01a524363..937e7e4e55 100644
--- a/src/mainboard/sapphire/pureplatinumh61/Kconfig
+++ b/src/mainboard/sapphire/pureplatinumh61/Kconfig
@@ -14,6 +14,7 @@ config BOARD_SPECIFIC_OPTIONS
select HAVE_CMOS_DEFAULT
select HAVE_ACPI_RESUME
select MAINBOARD_HAS_LIBGFXINIT
+ select MAINBOARD_USE_LIBGFXINIT if MAINBOARD_DO_NATIVE_VGA_INIT
select INTEL_INT15
select UDELAY_TSC
select SERIRQ_CONTINUOUS_MODE
diff --git a/src/mainboard/sapphire/pureplatinumh61/gma-mainboard.ads b/src/mainboard/sapphire/pureplatinumh61/gma-mainboard.ads
index cf866174d8..9b402b1fd0 100644
--- a/src/mainboard/sapphire/pureplatinumh61/gma-mainboard.ads
+++ b/src/mainboard/sapphire/pureplatinumh61/gma-mainboard.ads
@@ -1,21 +1,25 @@
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
-- For a three-pipe setup, bandwidth is shared between the 2nd and
- -- the 3rd pipe (if it's not eDP). Thus, probe ports that likely
- -- have a high-resolution display attached first, `Internal` last.
+ -- the 3rd pipe. Thus, probe ports that likely have a high-resolution
+ -- display attached first.
+ -- FIXME: Only one of the digital ports is implemented as DP
+ -- but it's unknown which.
ports : constant Port_List :=
- (DP2,
+ (DP1,
+ DP2,
DP3,
- Digital1,
- Digital2,
- Digital3,
+ HDMI1,
+ HDMI2,
+ HDMI3,
Analog,
- Internal,
others => Disabled);
end GMA.Mainboard;