summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorNico Huber <nico.huber@secunet.com>2020-02-15 17:56:01 +0100
committerPatrick Georgi <pgeorgi@google.com>2020-03-09 08:20:12 +0000
commit4ce52903b00efa45d2ad8cd1f886553e2b21cf91 (patch)
treeba91ff330275c5efbfc760495a9e5a97a0801f8a /src/mainboard
parent9f3e734e5c3760ff30906862a3f9ca724ea5fffb (diff)
downloadcoreboot-4ce52903b00efa45d2ad8cd1f886553e2b21cf91.tar.xz
3rdparty/libgfxinit: Update submodule pointer
Changes allow to use the integrated panel logic (power sequen- cing and backlight control) for more connectors. The Kconfigs GFX_GMA_PANEL_1_PORT and GFX_GMA_PANEL_2_PORT can now be set to any port, e.g. config GFX_GMA_PANEL_1_PORT default "DP3" Now that the panel logic is not tied to the `Internal` port choice anymore, we can properly split it into `LVDS` and `eDP`. This also adds Comet Lake PCI IDs which should still work the same as Kaby and Coffee Lake. Change-Id: I78b1b458ca00714dcbe7753a7beb4fb05d69986b Signed-off-by: Nico Huber <nico.huber@secunet.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/38921 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/apple/macbookair4_2/Kconfig2
-rw-r--r--src/mainboard/apple/macbookair4_2/gma-mainboard.ads3
-rw-r--r--src/mainboard/google/auron/gma-mainboard.ads2
-rw-r--r--src/mainboard/google/butterfly/Kconfig2
-rw-r--r--src/mainboard/google/butterfly/gma-mainboard.ads3
-rw-r--r--src/mainboard/google/eve/gma-mainboard.ads2
-rw-r--r--src/mainboard/google/glados/gma-mainboard.ads2
-rw-r--r--src/mainboard/google/link/gma-mainboard.ads2
-rw-r--r--src/mainboard/google/parrot/Kconfig2
-rw-r--r--src/mainboard/google/parrot/gma-mainboard.ads3
-rw-r--r--src/mainboard/google/poppy/gma-mainboard.ads2
-rw-r--r--src/mainboard/google/slippy/gma-mainboard.ads2
-rw-r--r--src/mainboard/google/stout/Kconfig2
-rw-r--r--src/mainboard/google/stout/gma-mainboard.ads3
-rw-r--r--src/mainboard/hp/snb_ivb_laptops/Kconfig.name12
-rw-r--r--src/mainboard/hp/snb_ivb_laptops/variants/2570p/gma-mainboard.ads2
-rw-r--r--src/mainboard/hp/snb_ivb_laptops/variants/2760p/gma-mainboard.ads2
-rw-r--r--src/mainboard/hp/snb_ivb_laptops/variants/8460p/gma-mainboard.ads3
-rw-r--r--src/mainboard/hp/snb_ivb_laptops/variants/8470p/gma-mainboard.ads3
-rw-r--r--src/mainboard/hp/snb_ivb_laptops/variants/folio_9470m/gma-mainboard.ads3
-rw-r--r--src/mainboard/hp/snb_ivb_laptops/variants/revolve_810_g1/gma-mainboard.ads3
-rw-r--r--src/mainboard/intel/dg43gt/gma-mainboard.ads1
-rw-r--r--src/mainboard/kontron/ktqm77/Kconfig2
-rw-r--r--src/mainboard/kontron/ktqm77/gma-mainboard.ads5
-rw-r--r--src/mainboard/lenovo/l520/Kconfig2
-rw-r--r--src/mainboard/lenovo/l520/gma-mainboard.ads3
-rw-r--r--src/mainboard/lenovo/s230u/Kconfig2
-rw-r--r--src/mainboard/lenovo/s230u/gma-mainboard.ads3
-rw-r--r--src/mainboard/lenovo/t400/variants/r500/gma-mainboard.ads2
-rw-r--r--src/mainboard/lenovo/t400/variants/t400/coronado-5/gma-mainboard.ads2
-rw-r--r--src/mainboard/lenovo/t400/variants/t400/malibu-3/gma-mainboard.ads2
-rw-r--r--src/mainboard/lenovo/t410/gma-mainboard.ads2
-rw-r--r--src/mainboard/lenovo/t420/Kconfig2
-rw-r--r--src/mainboard/lenovo/t420/gma-mainboard.ads3
-rw-r--r--src/mainboard/lenovo/t420s/Kconfig2
-rw-r--r--src/mainboard/lenovo/t420s/gma-mainboard.ads3
-rw-r--r--src/mainboard/lenovo/t430/Kconfig2
-rw-r--r--src/mainboard/lenovo/t430/gma-mainboard.ads3
-rw-r--r--src/mainboard/lenovo/t430s/Kconfig2
-rw-r--r--src/mainboard/lenovo/t430s/Makefile.inc2
-rw-r--r--src/mainboard/lenovo/t430s/variants/t430s/gma-mainboard.ads34
-rw-r--r--src/mainboard/lenovo/t430s/variants/t431s/gma-mainboard.ads (renamed from src/mainboard/lenovo/t430s/gma-mainboard.ads)3
-rw-r--r--src/mainboard/lenovo/t440p/gma-mainboard.ads2
-rw-r--r--src/mainboard/lenovo/t520/Kconfig2
-rw-r--r--src/mainboard/lenovo/t520/gma-mainboard.ads3
-rw-r--r--src/mainboard/lenovo/t530/Kconfig2
-rw-r--r--src/mainboard/lenovo/t530/gma-mainboard.ads3
-rw-r--r--src/mainboard/lenovo/x131e/Kconfig2
-rw-r--r--src/mainboard/lenovo/x131e/gma-mainboard.ads2
-rw-r--r--src/mainboard/lenovo/x1_carbon_gen1/Kconfig2
-rw-r--r--src/mainboard/lenovo/x1_carbon_gen1/gma-mainboard.ads2
-rw-r--r--src/mainboard/lenovo/x200/gma-mainboard.ads2
-rw-r--r--src/mainboard/lenovo/x201/gma-mainboard.ads2
-rw-r--r--src/mainboard/lenovo/x220/Kconfig2
-rw-r--r--src/mainboard/lenovo/x220/gma-mainboard.ads3
-rw-r--r--src/mainboard/lenovo/x230/Kconfig2
-rw-r--r--src/mainboard/lenovo/x230/gma-mainboard.ads3
-rw-r--r--src/mainboard/packardbell/ms2290/gma-mainboard.ads3
-rw-r--r--src/mainboard/purism/librem_bdw/gma-mainboard.ads2
-rw-r--r--src/mainboard/purism/librem_skl/gma-mainboard.ads2
-rw-r--r--src/mainboard/razer/blade_stealth_kbl/gma-mainboard.ads2
-rw-r--r--src/mainboard/roda/rv11/variants/rv11/gma-mainboard.ads2
-rw-r--r--src/mainboard/roda/rv11/variants/rw11/gma-mainboard.ads4
-rw-r--r--src/mainboard/samsung/lumpy/Kconfig2
-rw-r--r--src/mainboard/samsung/lumpy/gma-mainboard.ads3
65 files changed, 125 insertions, 71 deletions
diff --git a/src/mainboard/apple/macbookair4_2/Kconfig b/src/mainboard/apple/macbookair4_2/Kconfig
index 627b421649..2f48e50458 100644
--- a/src/mainboard/apple/macbookair4_2/Kconfig
+++ b/src/mainboard/apple/macbookair4_2/Kconfig
@@ -12,7 +12,7 @@ config BOARD_SPECIFIC_OPTIONS
select SERIRQ_CONTINUOUS_MODE
select SOUTHBRIDGE_INTEL_BD82X6X
select SYSTEM_TYPE_LAPTOP
- select GFX_GMA_INTERNAL_IS_EDP
+ select GFX_GMA_PANEL_1_ON_EDP
select MAINBOARD_HAS_LIBGFXINIT
select HAVE_CMOS_DEFAULT
select HAVE_OPTION_TABLE
diff --git a/src/mainboard/apple/macbookair4_2/gma-mainboard.ads b/src/mainboard/apple/macbookair4_2/gma-mainboard.ads
index e45320f36e..64f6981b35 100644
--- a/src/mainboard/apple/macbookair4_2/gma-mainboard.ads
+++ b/src/mainboard/apple/macbookair4_2/gma-mainboard.ads
@@ -28,6 +28,7 @@ private package GMA.Mainboard is
HDMI2,
HDMI3,
Analog,
- Internal);
+ eDP,
+ others => Disabled);
end GMA.Mainboard;
diff --git a/src/mainboard/google/auron/gma-mainboard.ads b/src/mainboard/google/auron/gma-mainboard.ads
index d110261be2..79ca0075f2 100644
--- a/src/mainboard/google/auron/gma-mainboard.ads
+++ b/src/mainboard/google/auron/gma-mainboard.ads
@@ -21,7 +21,7 @@ use HW.GFX.GMA.Display_Probing;
private package GMA.Mainboard is
ports : constant Port_List :=
- (Internal,
+ (eDP,
HDMI1,
DP1,
DP2,
diff --git a/src/mainboard/google/butterfly/Kconfig b/src/mainboard/google/butterfly/Kconfig
index 33a840fd83..4e014558ca 100644
--- a/src/mainboard/google/butterfly/Kconfig
+++ b/src/mainboard/google/butterfly/Kconfig
@@ -18,7 +18,7 @@ config BOARD_SPECIFIC_OPTIONS
select SERIRQ_CONTINUOUS_MODE # Workaround for EC/KBC IRQ1.
select HAVE_IFD_BIN
select HAVE_ME_BIN
- select GFX_GMA_INTERNAL_IS_LVDS
+ select GFX_GMA_PANEL_1_ON_LVDS
select MAINBOARD_HAS_LIBGFXINIT
select SANDYBRIDGE_VBOOT_IN_ROMSTAGE
diff --git a/src/mainboard/google/butterfly/gma-mainboard.ads b/src/mainboard/google/butterfly/gma-mainboard.ads
index e45320f36e..105b231e4f 100644
--- a/src/mainboard/google/butterfly/gma-mainboard.ads
+++ b/src/mainboard/google/butterfly/gma-mainboard.ads
@@ -28,6 +28,7 @@ private package GMA.Mainboard is
HDMI2,
HDMI3,
Analog,
- Internal);
+ LVDS,
+ others => Disabled);
end GMA.Mainboard;
diff --git a/src/mainboard/google/eve/gma-mainboard.ads b/src/mainboard/google/eve/gma-mainboard.ads
index 87cdb5e7c0..52f6783ddb 100644
--- a/src/mainboard/google/eve/gma-mainboard.ads
+++ b/src/mainboard/google/eve/gma-mainboard.ads
@@ -21,7 +21,7 @@ use HW.GFX.GMA.Display_Probing;
private package GMA.Mainboard is
ports : constant Port_List :=
- (Internal,
+ (eDP,
DP1,
DP2,
HDMI1,
diff --git a/src/mainboard/google/glados/gma-mainboard.ads b/src/mainboard/google/glados/gma-mainboard.ads
index 87cdb5e7c0..52f6783ddb 100644
--- a/src/mainboard/google/glados/gma-mainboard.ads
+++ b/src/mainboard/google/glados/gma-mainboard.ads
@@ -21,7 +21,7 @@ use HW.GFX.GMA.Display_Probing;
private package GMA.Mainboard is
ports : constant Port_List :=
- (Internal,
+ (eDP,
DP1,
DP2,
HDMI1,
diff --git a/src/mainboard/google/link/gma-mainboard.ads b/src/mainboard/google/link/gma-mainboard.ads
index 41737255a6..fae0b5b06e 100644
--- a/src/mainboard/google/link/gma-mainboard.ads
+++ b/src/mainboard/google/link/gma-mainboard.ads
@@ -17,7 +17,7 @@ use HW.GFX.GMA.Display_Probing;
private package GMA.Mainboard is
ports : constant Port_List :=
- (Internal,
+ (eDP,
DP3,
HDMI3,
others => Disabled);
diff --git a/src/mainboard/google/parrot/Kconfig b/src/mainboard/google/parrot/Kconfig
index c5b680c89b..4afd76110e 100644
--- a/src/mainboard/google/parrot/Kconfig
+++ b/src/mainboard/google/parrot/Kconfig
@@ -19,7 +19,7 @@ config BOARD_SPECIFIC_OPTIONS
# Workaround for EC/KBC IRQ1.
select SERIRQ_CONTINUOUS_MODE
# This board also feature sandy-bridge CPU's so must have LVDS
- select GFX_GMA_INTERNAL_IS_LVDS
+ select GFX_GMA_PANEL_1_ON_LVDS
select MAINBOARD_HAS_LIBGFXINIT
select SANDYBRIDGE_VBOOT_IN_ROMSTAGE
diff --git a/src/mainboard/google/parrot/gma-mainboard.ads b/src/mainboard/google/parrot/gma-mainboard.ads
index e45320f36e..105b231e4f 100644
--- a/src/mainboard/google/parrot/gma-mainboard.ads
+++ b/src/mainboard/google/parrot/gma-mainboard.ads
@@ -28,6 +28,7 @@ private package GMA.Mainboard is
HDMI2,
HDMI3,
Analog,
- Internal);
+ LVDS,
+ others => Disabled);
end GMA.Mainboard;
diff --git a/src/mainboard/google/poppy/gma-mainboard.ads b/src/mainboard/google/poppy/gma-mainboard.ads
index 87cdb5e7c0..52f6783ddb 100644
--- a/src/mainboard/google/poppy/gma-mainboard.ads
+++ b/src/mainboard/google/poppy/gma-mainboard.ads
@@ -21,7 +21,7 @@ use HW.GFX.GMA.Display_Probing;
private package GMA.Mainboard is
ports : constant Port_List :=
- (Internal,
+ (eDP,
DP1,
DP2,
HDMI1,
diff --git a/src/mainboard/google/slippy/gma-mainboard.ads b/src/mainboard/google/slippy/gma-mainboard.ads
index cd5e2f51be..e362f891ab 100644
--- a/src/mainboard/google/slippy/gma-mainboard.ads
+++ b/src/mainboard/google/slippy/gma-mainboard.ads
@@ -22,7 +22,7 @@ private package GMA.Mainboard is
ports : constant Port_List :=
(HDMI1,
- Internal,
+ eDP,
others => Disabled);
end GMA.Mainboard;
diff --git a/src/mainboard/google/stout/Kconfig b/src/mainboard/google/stout/Kconfig
index f945cc0316..b0ab7f948b 100644
--- a/src/mainboard/google/stout/Kconfig
+++ b/src/mainboard/google/stout/Kconfig
@@ -16,7 +16,7 @@ config BOARD_SPECIFIC_OPTIONS
select MAINBOARD_HAS_TPM1
select INTEL_INT15
select MAINBOARD_HAS_LIBGFXINIT
- select GFX_GMA_INTERNAL_IS_LVDS
+ select GFX_GMA_PANEL_1_ON_LVDS
select HAVE_IFD_BIN
select HAVE_ME_BIN
select SANDYBRIDGE_VBOOT_IN_ROMSTAGE
diff --git a/src/mainboard/google/stout/gma-mainboard.ads b/src/mainboard/google/stout/gma-mainboard.ads
index e45320f36e..105b231e4f 100644
--- a/src/mainboard/google/stout/gma-mainboard.ads
+++ b/src/mainboard/google/stout/gma-mainboard.ads
@@ -28,6 +28,7 @@ private package GMA.Mainboard is
HDMI2,
HDMI3,
Analog,
- Internal);
+ LVDS,
+ others => Disabled);
end GMA.Mainboard;
diff --git a/src/mainboard/hp/snb_ivb_laptops/Kconfig.name b/src/mainboard/hp/snb_ivb_laptops/Kconfig.name
index 3c95e85e4a..c4a8662e81 100644
--- a/src/mainboard/hp/snb_ivb_laptops/Kconfig.name
+++ b/src/mainboard/hp/snb_ivb_laptops/Kconfig.name
@@ -18,7 +18,7 @@ config BOARD_HP_2570P
select BOARD_HP_SNB_IVB_LAPTOPS
select BOARD_ROMSIZE_KB_16384
- select GFX_GMA_INTERNAL_IS_LVDS
+ select GFX_GMA_PANEL_1_ON_LVDS
select INTEL_INT15
select MAINBOARD_HAS_LIBGFXINIT
select MAINBOARD_USES_IFD_GBE_REGION
@@ -29,7 +29,7 @@ config BOARD_HP_2760P
select BOARD_HP_SNB_IVB_LAPTOPS
select BOARD_ROMSIZE_KB_8192
- select GFX_GMA_INTERNAL_IS_LVDS
+ select GFX_GMA_PANEL_1_ON_LVDS
select INTEL_INT15
select MAINBOARD_HAS_LIBGFXINIT
select MAINBOARD_USES_IFD_GBE_REGION
@@ -40,7 +40,7 @@ config BOARD_HP_8460P
select BOARD_HP_SNB_IVB_LAPTOPS
select BOARD_ROMSIZE_KB_8192
- select GFX_GMA_INTERNAL_IS_LVDS
+ select GFX_GMA_PANEL_1_ON_LVDS
select INTEL_INT15
select MAINBOARD_HAS_LIBGFXINIT
select MAINBOARD_HAS_LPC_TPM
@@ -54,7 +54,7 @@ config BOARD_HP_8470P
select BOARD_HP_SNB_IVB_LAPTOPS
select BOARD_ROMSIZE_KB_16384
- select GFX_GMA_INTERNAL_IS_LVDS
+ select GFX_GMA_PANEL_1_ON_LVDS
select INTEL_INT15
select MAINBOARD_HAS_LIBGFXINIT
select MAINBOARD_USES_IFD_GBE_REGION
@@ -75,7 +75,7 @@ config BOARD_HP_FOLIO_9470M
select BOARD_HP_SNB_IVB_LAPTOPS
select BOARD_ROMSIZE_KB_16384
- select GFX_GMA_INTERNAL_IS_LVDS
+ select GFX_GMA_PANEL_1_ON_LVDS
select INTEL_GMA_HAVE_VBT
select INTEL_INT15
select MAINBOARD_HAS_LIBGFXINIT
@@ -89,7 +89,7 @@ config BOARD_HP_REVOLVE_810_G1
select BOARD_HP_SNB_IVB_LAPTOPS
select BOARD_ROMSIZE_KB_16384
select GENERIC_SPD_BIN
- select GFX_GMA_INTERNAL_IS_LVDS
+ select GFX_GMA_PANEL_1_ON_LVDS
select INTEL_INT15
select INTEL_GMA_HAVE_VBT
select MAINBOARD_USES_IFD_GBE_REGION
diff --git a/src/mainboard/hp/snb_ivb_laptops/variants/2570p/gma-mainboard.ads b/src/mainboard/hp/snb_ivb_laptops/variants/2570p/gma-mainboard.ads
index 1944a24b02..a272d3e0d8 100644
--- a/src/mainboard/hp/snb_ivb_laptops/variants/2570p/gma-mainboard.ads
+++ b/src/mainboard/hp/snb_ivb_laptops/variants/2570p/gma-mainboard.ads
@@ -26,7 +26,7 @@ private package GMA.Mainboard is
HDMI1,
HDMI3,
Analog,
- Internal,
+ LVDS,
others => Disabled);
end GMA.Mainboard;
diff --git a/src/mainboard/hp/snb_ivb_laptops/variants/2760p/gma-mainboard.ads b/src/mainboard/hp/snb_ivb_laptops/variants/2760p/gma-mainboard.ads
index 430720aedb..bad712b4de 100644
--- a/src/mainboard/hp/snb_ivb_laptops/variants/2760p/gma-mainboard.ads
+++ b/src/mainboard/hp/snb_ivb_laptops/variants/2760p/gma-mainboard.ads
@@ -24,7 +24,7 @@ private package GMA.Mainboard is
(DP1,
HDMI1,
Analog,
- Internal,
+ LVDS,
others => Disabled);
end GMA.Mainboard;
diff --git a/src/mainboard/hp/snb_ivb_laptops/variants/8460p/gma-mainboard.ads b/src/mainboard/hp/snb_ivb_laptops/variants/8460p/gma-mainboard.ads
index 01ae99aaaf..fe4efa2468 100644
--- a/src/mainboard/hp/snb_ivb_laptops/variants/8460p/gma-mainboard.ads
+++ b/src/mainboard/hp/snb_ivb_laptops/variants/8460p/gma-mainboard.ads
@@ -28,6 +28,7 @@ private package GMA.Mainboard is
HDMI2,
HDMI3,
Analog,
- Internal);
+ LVDS,
+ others => Disabled);
end GMA.Mainboard;
diff --git a/src/mainboard/hp/snb_ivb_laptops/variants/8470p/gma-mainboard.ads b/src/mainboard/hp/snb_ivb_laptops/variants/8470p/gma-mainboard.ads
index 01ae99aaaf..fe4efa2468 100644
--- a/src/mainboard/hp/snb_ivb_laptops/variants/8470p/gma-mainboard.ads
+++ b/src/mainboard/hp/snb_ivb_laptops/variants/8470p/gma-mainboard.ads
@@ -28,6 +28,7 @@ private package GMA.Mainboard is
HDMI2,
HDMI3,
Analog,
- Internal);
+ LVDS,
+ others => Disabled);
end GMA.Mainboard;
diff --git a/src/mainboard/hp/snb_ivb_laptops/variants/folio_9470m/gma-mainboard.ads b/src/mainboard/hp/snb_ivb_laptops/variants/folio_9470m/gma-mainboard.ads
index e45320f36e..105b231e4f 100644
--- a/src/mainboard/hp/snb_ivb_laptops/variants/folio_9470m/gma-mainboard.ads
+++ b/src/mainboard/hp/snb_ivb_laptops/variants/folio_9470m/gma-mainboard.ads
@@ -28,6 +28,7 @@ private package GMA.Mainboard is
HDMI2,
HDMI3,
Analog,
- Internal);
+ LVDS,
+ others => Disabled);
end GMA.Mainboard;
diff --git a/src/mainboard/hp/snb_ivb_laptops/variants/revolve_810_g1/gma-mainboard.ads b/src/mainboard/hp/snb_ivb_laptops/variants/revolve_810_g1/gma-mainboard.ads
index 01ae99aaaf..fe4efa2468 100644
--- a/src/mainboard/hp/snb_ivb_laptops/variants/revolve_810_g1/gma-mainboard.ads
+++ b/src/mainboard/hp/snb_ivb_laptops/variants/revolve_810_g1/gma-mainboard.ads
@@ -28,6 +28,7 @@ private package GMA.Mainboard is
HDMI2,
HDMI3,
Analog,
- Internal);
+ LVDS,
+ others => Disabled);
end GMA.Mainboard;
diff --git a/src/mainboard/intel/dg43gt/gma-mainboard.ads b/src/mainboard/intel/dg43gt/gma-mainboard.ads
index 7dab160abf..43a7d89a3a 100644
--- a/src/mainboard/intel/dg43gt/gma-mainboard.ads
+++ b/src/mainboard/intel/dg43gt/gma-mainboard.ads
@@ -24,7 +24,6 @@ private package GMA.Mainboard is
(HDMI1,
HDMI2,
Analog,
- Internal,
others => Disabled);
end GMA.Mainboard;
diff --git a/src/mainboard/kontron/ktqm77/Kconfig b/src/mainboard/kontron/ktqm77/Kconfig
index 77775e6b8e..a67fa9e13e 100644
--- a/src/mainboard/kontron/ktqm77/Kconfig
+++ b/src/mainboard/kontron/ktqm77/Kconfig
@@ -12,7 +12,7 @@ config BOARD_SPECIFIC_OPTIONS
select HAVE_ACPI_RESUME
select MAINBOARD_HAS_LIBGFXINIT
select GFX_GMA_ANALOG_I2C_HDMI_B
- select GFX_GMA_INTERNAL_IS_LVDS
+ select GFX_GMA_PANEL_1_ON_LVDS
select MAINBOARD_USES_IFD_GBE_REGION
config MAINBOARD_DIR
diff --git a/src/mainboard/kontron/ktqm77/gma-mainboard.ads b/src/mainboard/kontron/ktqm77/gma-mainboard.ads
index 66ce273d77..3ac3cd2769 100644
--- a/src/mainboard/kontron/ktqm77/gma-mainboard.ads
+++ b/src/mainboard/kontron/ktqm77/gma-mainboard.ads
@@ -21,7 +21,7 @@ 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.
+ -- have a high-resolution display attached first, `eDP` last.
ports : constant Port_List :=
(DP2,
@@ -30,7 +30,8 @@ private package GMA.Mainboard is
HDMI2,
HDMI3,
Analog,
- Internal,
+ LVDS,
+ eDP,
others => Disabled);
end GMA.Mainboard;
diff --git a/src/mainboard/lenovo/l520/Kconfig b/src/mainboard/lenovo/l520/Kconfig
index a300d167de..6716606ee4 100644
--- a/src/mainboard/lenovo/l520/Kconfig
+++ b/src/mainboard/lenovo/l520/Kconfig
@@ -12,7 +12,7 @@ config BOARD_SPECIFIC_OPTIONS
select HAVE_CMOS_DEFAULT
select NORTHBRIDGE_INTEL_SANDYBRIDGE
select MAINBOARD_HAS_LIBGFXINIT
- select GFX_GMA_INTERNAL_IS_LVDS
+ select GFX_GMA_PANEL_1_ON_LVDS
select SERIRQ_CONTINUOUS_MODE
select SOUTHBRIDGE_INTEL_BD82X6X
select SYSTEM_TYPE_LAPTOP
diff --git a/src/mainboard/lenovo/l520/gma-mainboard.ads b/src/mainboard/lenovo/l520/gma-mainboard.ads
index e45320f36e..105b231e4f 100644
--- a/src/mainboard/lenovo/l520/gma-mainboard.ads
+++ b/src/mainboard/lenovo/l520/gma-mainboard.ads
@@ -28,6 +28,7 @@ private package GMA.Mainboard is
HDMI2,
HDMI3,
Analog,
- Internal);
+ LVDS,
+ others => Disabled);
end GMA.Mainboard;
diff --git a/src/mainboard/lenovo/s230u/Kconfig b/src/mainboard/lenovo/s230u/Kconfig
index 662c9a5ad3..1248906630 100644
--- a/src/mainboard/lenovo/s230u/Kconfig
+++ b/src/mainboard/lenovo/s230u/Kconfig
@@ -14,7 +14,7 @@ config BOARD_SPECIFIC_OPTIONS
select HAVE_ACPI_RESUME
select INTEL_INT15
select MAINBOARD_HAS_LIBGFXINIT
- select GFX_GMA_INTERNAL_IS_LVDS
+ select GFX_GMA_PANEL_1_ON_LVDS
select SERIRQ_CONTINUOUS_MODE
select MAINBOARD_HAS_LPC_TPM
select MAINBOARD_HAS_TPM1
diff --git a/src/mainboard/lenovo/s230u/gma-mainboard.ads b/src/mainboard/lenovo/s230u/gma-mainboard.ads
index e45320f36e..105b231e4f 100644
--- a/src/mainboard/lenovo/s230u/gma-mainboard.ads
+++ b/src/mainboard/lenovo/s230u/gma-mainboard.ads
@@ -28,6 +28,7 @@ private package GMA.Mainboard is
HDMI2,
HDMI3,
Analog,
- Internal);
+ LVDS,
+ others => Disabled);
end GMA.Mainboard;
diff --git a/src/mainboard/lenovo/t400/variants/r500/gma-mainboard.ads b/src/mainboard/lenovo/t400/variants/r500/gma-mainboard.ads
index 8a72a31c6b..3623d623f4 100644
--- a/src/mainboard/lenovo/t400/variants/r500/gma-mainboard.ads
+++ b/src/mainboard/lenovo/t400/variants/r500/gma-mainboard.ads
@@ -24,7 +24,7 @@ private package GMA.Mainboard is
(DP1,
HDMI1,
Analog,
- Internal,
+ LVDS,
others => Disabled);
end GMA.Mainboard;
diff --git a/src/mainboard/lenovo/t400/variants/t400/coronado-5/gma-mainboard.ads b/src/mainboard/lenovo/t400/variants/t400/coronado-5/gma-mainboard.ads
index 71d160087a..9bf6352f7b 100644
--- a/src/mainboard/lenovo/t400/variants/t400/coronado-5/gma-mainboard.ads
+++ b/src/mainboard/lenovo/t400/variants/t400/coronado-5/gma-mainboard.ads
@@ -26,7 +26,7 @@ private package GMA.Mainboard is
DP2,
HDMI2,
Analog,
- Internal,
+ LVDS,
others => Disabled);
end GMA.Mainboard;
diff --git a/src/mainboard/lenovo/t400/variants/t400/malibu-3/gma-mainboard.ads b/src/mainboard/lenovo/t400/variants/t400/malibu-3/gma-mainboard.ads
index 92702b2978..9ab80b59dd 100644
--- a/src/mainboard/lenovo/t400/variants/t400/malibu-3/gma-mainboard.ads
+++ b/src/mainboard/lenovo/t400/variants/t400/malibu-3/gma-mainboard.ads
@@ -24,7 +24,7 @@ private package GMA.Mainboard is
(DP2,
HDMI2,
Analog,
- Internal,
+ LVDS,
others => Disabled);
end GMA.Mainboard;
diff --git a/src/mainboard/lenovo/t410/gma-mainboard.ads b/src/mainboard/lenovo/t410/gma-mainboard.ads
index 9c2a3cb369..b75db6c693 100644
--- a/src/mainboard/lenovo/t410/gma-mainboard.ads
+++ b/src/mainboard/lenovo/t410/gma-mainboard.ads
@@ -24,7 +24,7 @@ private package GMA.Mainboard is
(DP2, -- DP++ connector on the dock
HDMI2,
Analog,
- Internal,
+ LVDS,
others => Disabled);
end GMA.Mainboard;
diff --git a/src/mainboard/lenovo/t420/Kconfig b/src/mainboard/lenovo/t420/Kconfig
index d26ad1714b..7c715ed843 100644
--- a/src/mainboard/lenovo/t420/Kconfig
+++ b/src/mainboard/lenovo/t420/Kconfig
@@ -20,7 +20,7 @@ config BOARD_SPECIFIC_OPTIONS
select MAINBOARD_HAS_LPC_TPM
select MAINBOARD_HAS_TPM1
select MAINBOARD_HAS_LIBGFXINIT
- select GFX_GMA_INTERNAL_IS_LVDS
+ select GFX_GMA_PANEL_1_ON_LVDS
select DRIVERS_LENOVO_HYBRID_GRAPHICS
select INTEL_GMA_HAVE_VBT
select MAINBOARD_USES_IFD_GBE_REGION
diff --git a/src/mainboard/lenovo/t420/gma-mainboard.ads b/src/mainboard/lenovo/t420/gma-mainboard.ads
index a19bf339fd..eb0936d810 100644
--- a/src/mainboard/lenovo/t420/gma-mainboard.ads
+++ b/src/mainboard/lenovo/t420/gma-mainboard.ads
@@ -27,6 +27,7 @@ private package GMA.Mainboard is
HDMI2,
HDMI3,
Analog,
- Internal);
+ LVDS,
+ others => Disabled);
end GMA.Mainboard;
diff --git a/src/mainboard/lenovo/t420s/Kconfig b/src/mainboard/lenovo/t420s/Kconfig
index 89f84fccd8..6af93ac887 100644
--- a/src/mainboard/lenovo/t420s/Kconfig
+++ b/src/mainboard/lenovo/t420s/Kconfig
@@ -17,7 +17,7 @@ config BOARD_SPECIFIC_OPTIONS
select HAVE_ACPI_RESUME
select INTEL_INT15
select MAINBOARD_HAS_LIBGFXINIT
- select GFX_GMA_INTERNAL_IS_LVDS
+ select GFX_GMA_PANEL_1_ON_LVDS
select MAINBOARD_HAS_LPC_TPM
select MAINBOARD_HAS_TPM1
select DRIVERS_LENOVO_HYBRID_GRAPHICS
diff --git a/src/mainboard/lenovo/t420s/gma-mainboard.ads b/src/mainboard/lenovo/t420s/gma-mainboard.ads
index e45320f36e..105b231e4f 100644
--- a/src/mainboard/lenovo/t420s/gma-mainboard.ads
+++ b/src/mainboard/lenovo/t420s/gma-mainboard.ads
@@ -28,6 +28,7 @@ private package GMA.Mainboard is
HDMI2,
HDMI3,
Analog,
- Internal);
+ LVDS,
+ others => Disabled);
end GMA.Mainboard;
diff --git a/src/mainboard/lenovo/t430/Kconfig b/src/mainboard/lenovo/t430/Kconfig
index a73a1b2225..009377d78f 100644
--- a/src/mainboard/lenovo/t430/Kconfig
+++ b/src/mainboard/lenovo/t430/Kconfig
@@ -22,7 +22,7 @@ config BOARD_SPECIFIC_OPTIONS
select USE_NATIVE_RAMINIT
select DRIVERS_LENOVO_HYBRID_GRAPHICS
select MAINBOARD_HAS_LIBGFXINIT
- select GFX_GMA_INTERNAL_IS_LVDS
+ select GFX_GMA_PANEL_1_ON_LVDS
select INTEL_GMA_HAVE_VBT
select MAINBOARD_USES_IFD_GBE_REGION
diff --git a/src/mainboard/lenovo/t430/gma-mainboard.ads b/src/mainboard/lenovo/t430/gma-mainboard.ads
index a19bf339fd..eb0936d810 100644
--- a/src/mainboard/lenovo/t430/gma-mainboard.ads
+++ b/src/mainboard/lenovo/t430/gma-mainboard.ads
@@ -27,6 +27,7 @@ private package GMA.Mainboard is
HDMI2,
HDMI3,
Analog,
- Internal);
+ LVDS,
+ others => Disabled);
end GMA.Mainboard;
diff --git a/src/mainboard/lenovo/t430s/Kconfig b/src/mainboard/lenovo/t430s/Kconfig
index 5162e0568e..3ed0d0ecde 100644
--- a/src/mainboard/lenovo/t430s/Kconfig
+++ b/src/mainboard/lenovo/t430s/Kconfig
@@ -19,7 +19,7 @@ config BOARD_SPECIFIC_OPTIONS
select MAINBOARD_HAS_LPC_TPM
select MAINBOARD_HAS_TPM1
select MAINBOARD_HAS_LIBGFXINIT
- select GFX_GMA_INTERNAL_IS_LVDS if BOARD_LENOVO_T430S
+ select GFX_GMA_PANEL_1_ON_LVDS if BOARD_LENOVO_T430S
select INTEL_GMA_HAVE_VBT
select MAINBOARD_USES_IFD_GBE_REGION
select DRIVERS_RICOH_RCE822 if BOARD_LENOVO_T431S
diff --git a/src/mainboard/lenovo/t430s/Makefile.inc b/src/mainboard/lenovo/t430s/Makefile.inc
index 425047fe44..d9f54d5989 100644
--- a/src/mainboard/lenovo/t430s/Makefile.inc
+++ b/src/mainboard/lenovo/t430s/Makefile.inc
@@ -18,5 +18,5 @@ bootblock-y += variants/$(VARIANT_DIR)/gpio.c
romstage-y += variants/$(VARIANT_DIR)/gpio.c
romstage-y += variants/$(VARIANT_DIR)/romstage.c
ramstage-y += variants/$(VARIANT_DIR)/hda_verb.c
-ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += gma-mainboard.ads
+ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += variants/$(VARIANT_DIR)/gma-mainboard.ads
subdirs-$(CONFIG_BOARD_LENOVO_T431S) += variants/$(VARIANT_DIR)/spd
diff --git a/src/mainboard/lenovo/t430s/variants/t430s/gma-mainboard.ads b/src/mainboard/lenovo/t430s/variants/t430s/gma-mainboard.ads
new file mode 100644
index 0000000000..61793e295a
--- /dev/null
+++ b/src/mainboard/lenovo/t430s/variants/t430s/gma-mainboard.ads
@@ -0,0 +1,34 @@
+--
+-- Copyright (C) 2017 Bill XIE persmule@gmail.com
+--
+-- 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 :=
+ (DP1,
+ DP2,
+ DP3,
+ HDMI1,
+ HDMI2,
+ HDMI3,
+ Analog,
+ LVDS,
+ others => Disabled);
+
+end GMA.Mainboard;
diff --git a/src/mainboard/lenovo/t430s/gma-mainboard.ads b/src/mainboard/lenovo/t430s/variants/t431s/gma-mainboard.ads
index 8cf5d2fe13..4cc7433eaf 100644
--- a/src/mainboard/lenovo/t430s/gma-mainboard.ads
+++ b/src/mainboard/lenovo/t430s/variants/t431s/gma-mainboard.ads
@@ -28,6 +28,7 @@ private package GMA.Mainboard is
HDMI2,
HDMI3,
Analog,
- Internal);
+ eDP,
+ others => Disabled);
end GMA.Mainboard;
diff --git a/src/mainboard/lenovo/t440p/gma-mainboard.ads b/src/mainboard/lenovo/t440p/gma-mainboard.ads
index d36cb82e3c..1626f88f5a 100644
--- a/src/mainboard/lenovo/t440p/gma-mainboard.ads
+++ b/src/mainboard/lenovo/t440p/gma-mainboard.ads
@@ -24,7 +24,7 @@ private package GMA.Mainboard is
(DP1, -- MiniDP
DP2, -- dock, DP2-1 (DP/HDMI) and DP2-2 (DP/DVI)
Analog,
- Internal,
+ eDP,
others => Disabled);
end GMA.Mainboard;
diff --git a/src/mainboard/lenovo/t520/Kconfig b/src/mainboard/lenovo/t520/Kconfig
index 6d31be2e6c..a628adc646 100644
--- a/src/mainboard/lenovo/t520/Kconfig
+++ b/src/mainboard/lenovo/t520/Kconfig
@@ -14,7 +14,7 @@ config BOARD_LENOVO_BASEBOARD_T520
select HAVE_CMOS_DEFAULT
select HAVE_ACPI_RESUME
select INTEL_INT15
- select GFX_GMA_INTERNAL_IS_LVDS
+ select GFX_GMA_PANEL_1_ON_LVDS
select MAINBOARD_HAS_LIBGFXINIT
select MAINBOARD_HAS_LPC_TPM
select MAINBOARD_HAS_TPM1
diff --git a/src/mainboard/lenovo/t520/gma-mainboard.ads b/src/mainboard/lenovo/t520/gma-mainboard.ads
index e45320f36e..105b231e4f 100644
--- a/src/mainboard/lenovo/t520/gma-mainboard.ads
+++ b/src/mainboard/lenovo/t520/gma-mainboard.ads
@@ -28,6 +28,7 @@ private package GMA.Mainboard is
HDMI2,
HDMI3,
Analog,
- Internal);
+ LVDS,
+ others => Disabled);
end GMA.Mainboard;
diff --git a/src/mainboard/lenovo/t530/Kconfig b/src/mainboard/lenovo/t530/Kconfig
index 233d4d3f60..bef0dee118 100644
--- a/src/mainboard/lenovo/t530/Kconfig
+++ b/src/mainboard/lenovo/t530/Kconfig
@@ -18,7 +18,7 @@ config BOARD_LENOVO_BASEBOARD_T530
select MAINBOARD_HAS_TPM1
select DRIVERS_LENOVO_HYBRID_GRAPHICS
select MAINBOARD_HAS_LIBGFXINIT
- select GFX_GMA_INTERNAL_IS_LVDS
+ select GFX_GMA_PANEL_1_ON_LVDS
select INTEL_GMA_HAVE_VBT
select MAINBOARD_USES_IFD_GBE_REGION
select DRIVERS_RICOH_RCE822 if BOARD_LENOVO_W530
diff --git a/src/mainboard/lenovo/t530/gma-mainboard.ads b/src/mainboard/lenovo/t530/gma-mainboard.ads
index e45320f36e..105b231e4f 100644
--- a/src/mainboard/lenovo/t530/gma-mainboard.ads
+++ b/src/mainboard/lenovo/t530/gma-mainboard.ads
@@ -28,6 +28,7 @@ private package GMA.Mainboard is
HDMI2,
HDMI3,
Analog,
- Internal);
+ LVDS,
+ others => Disabled);
end GMA.Mainboard;
diff --git a/src/mainboard/lenovo/x131e/Kconfig b/src/mainboard/lenovo/x131e/Kconfig
index 352be84050..29fda105f2 100644
--- a/src/mainboard/lenovo/x131e/Kconfig
+++ b/src/mainboard/lenovo/x131e/Kconfig
@@ -17,7 +17,7 @@ config BOARD_SPECIFIC_OPTIONS
select MAINBOARD_HAS_LPC_TPM
select MAINBOARD_HAS_TPM1
select MAINBOARD_HAS_LIBGFXINIT
- select GFX_GMA_INTERNAL_IS_LVDS
+ select GFX_GMA_PANEL_1_ON_LVDS
select SERIRQ_CONTINUOUS_MODE
select INTEL_GMA_HAVE_VBT
diff --git a/src/mainboard/lenovo/x131e/gma-mainboard.ads b/src/mainboard/lenovo/x131e/gma-mainboard.ads
index 2df96b5b2b..cd3b98d01d 100644
--- a/src/mainboard/lenovo/x131e/gma-mainboard.ads
+++ b/src/mainboard/lenovo/x131e/gma-mainboard.ads
@@ -22,7 +22,7 @@ private package GMA.Mainboard is
ports : constant Port_List :=
(HDMI1,
Analog,
- Internal,
+ LVDS,
others => Disabled);
end GMA.Mainboard;
diff --git a/src/mainboard/lenovo/x1_carbon_gen1/Kconfig b/src/mainboard/lenovo/x1_carbon_gen1/Kconfig
index f49805c36a..830ace427d 100644
--- a/src/mainboard/lenovo/x1_carbon_gen1/Kconfig
+++ b/src/mainboard/lenovo/x1_carbon_gen1/Kconfig
@@ -20,7 +20,7 @@ config BOARD_SPECIFIC_OPTIONS
select MAINBOARD_HAS_LPC_TPM
select MAINBOARD_HAS_TPM1
select MAINBOARD_HAS_LIBGFXINIT
- select GFX_GMA_INTERNAL_IS_LVDS
+ select GFX_GMA_PANEL_1_ON_LVDS
select INTEL_GMA_HAVE_VBT
# Workaround for EC/KBC IRQ1.
diff --git a/src/mainboard/lenovo/x1_carbon_gen1/gma-mainboard.ads b/src/mainboard/lenovo/x1_carbon_gen1/gma-mainboard.ads
index 99d0a28b9c..c9a3d47e8e 100644
--- a/src/mainboard/lenovo/x1_carbon_gen1/gma-mainboard.ads
+++ b/src/mainboard/lenovo/x1_carbon_gen1/gma-mainboard.ads
@@ -25,7 +25,7 @@ private package GMA.Mainboard is
HDMI1,
HDMI2,
HDMI3,
- Internal,
+ LVDS,
others => Disabled);
end GMA.Mainboard;
diff --git a/src/mainboard/lenovo/x200/gma-mainboard.ads b/src/mainboard/lenovo/x200/gma-mainboard.ads
index 92702b2978..9ab80b59dd 100644
--- a/src/mainboard/lenovo/x200/gma-mainboard.ads
+++ b/src/mainboard/lenovo/x200/gma-mainboard.ads
@@ -24,7 +24,7 @@ private package GMA.Mainboard is
(DP2,
HDMI2,
Analog,
- Internal,
+ LVDS,
others => Disabled);
end GMA.Mainboard;
diff --git a/src/mainboard/lenovo/x201/gma-mainboard.ads b/src/mainboard/lenovo/x201/gma-mainboard.ads
index 9c2a3cb369..b75db6c693 100644
--- a/src/mainboard/lenovo/x201/gma-mainboard.ads
+++ b/src/mainboard/lenovo/x201/gma-mainboard.ads
@@ -24,7 +24,7 @@ private package GMA.Mainboard is
(DP2, -- DP++ connector on the dock
HDMI2,
Analog,
- Internal,
+ LVDS,
others => Disabled);
end GMA.Mainboard;
diff --git a/src/mainboard/lenovo/x220/Kconfig b/src/mainboard/lenovo/x220/Kconfig
index b20255e1cc..7c4754dbbd 100644
--- a/src/mainboard/lenovo/x220/Kconfig
+++ b/src/mainboard/lenovo/x220/Kconfig
@@ -19,7 +19,7 @@ config BOARD_SPECIFIC_OPTIONS
select MAINBOARD_HAS_LPC_TPM
select MAINBOARD_HAS_TPM1
select MAINBOARD_HAS_LIBGFXINIT
- select GFX_GMA_INTERNAL_IS_LVDS
+ select GFX_GMA_PANEL_1_ON_LVDS
select INTEL_GMA_HAVE_VBT
select MAINBOARD_USES_IFD_GBE_REGION
diff --git a/src/mainboard/lenovo/x220/gma-mainboard.ads b/src/mainboard/lenovo/x220/gma-mainboard.ads
index e45320f36e..105b231e4f 100644
--- a/src/mainboard/lenovo/x220/gma-mainboard.ads
+++ b/src/mainboard/lenovo/x220/gma-mainboard.ads
@@ -28,6 +28,7 @@ private package GMA.Mainboard is
HDMI2,
HDMI3,
Analog,
- Internal);
+ LVDS,
+ others => Disabled);
end GMA.Mainboard;
diff --git a/src/mainboard/lenovo/x230/Kconfig b/src/mainboard/lenovo/x230/Kconfig
index 73dfdf6a10..b25d7cf858 100644
--- a/src/mainboard/lenovo/x230/Kconfig
+++ b/src/mainboard/lenovo/x230/Kconfig
@@ -20,7 +20,7 @@ config BOARD_SPECIFIC_OPTIONS
select MAINBOARD_HAS_LPC_TPM
select MAINBOARD_HAS_TPM1
select MAINBOARD_HAS_LIBGFXINIT
- select GFX_GMA_INTERNAL_IS_LVDS
+ select GFX_GMA_PANEL_1_ON_LVDS
select INTEL_GMA_HAVE_VBT
select MAINBOARD_USES_IFD_GBE_REGION
diff --git a/src/mainboard/lenovo/x230/gma-mainboard.ads b/src/mainboard/lenovo/x230/gma-mainboard.ads
index e45320f36e..105b231e4f 100644
--- a/src/mainboard/lenovo/x230/gma-mainboard.ads
+++ b/src/mainboard/lenovo/x230/gma-mainboard.ads
@@ -28,6 +28,7 @@ private package GMA.Mainboard is
HDMI2,
HDMI3,
Analog,
- Internal);
+ LVDS,
+ others => Disabled);
end GMA.Mainboard;
diff --git a/src/mainboard/packardbell/ms2290/gma-mainboard.ads b/src/mainboard/packardbell/ms2290/gma-mainboard.ads
index e45320f36e..105b231e4f 100644
--- a/src/mainboard/packardbell/ms2290/gma-mainboard.ads
+++ b/src/mainboard/packardbell/ms2290/gma-mainboard.ads
@@ -28,6 +28,7 @@ private package GMA.Mainboard is
HDMI2,
HDMI3,
Analog,
- Internal);
+ LVDS,
+ others => Disabled);
end GMA.Mainboard;
diff --git a/src/mainboard/purism/librem_bdw/gma-mainboard.ads b/src/mainboard/purism/librem_bdw/gma-mainboard.ads
index 1aba615128..750e46ec10 100644
--- a/src/mainboard/purism/librem_bdw/gma-mainboard.ads
+++ b/src/mainboard/purism/librem_bdw/gma-mainboard.ads
@@ -21,7 +21,7 @@ use HW.GFX.GMA.Display_Probing;
private package GMA.Mainboard is
ports : constant Port_List :=
- (Internal,
+ (eDP,
HDMI1,
others => Disabled);
diff --git a/src/mainboard/purism/librem_skl/gma-mainboard.ads b/src/mainboard/purism/librem_skl/gma-mainboard.ads
index 1aba615128..750e46ec10 100644
--- a/src/mainboard/purism/librem_skl/gma-mainboard.ads
+++ b/src/mainboard/purism/librem_skl/gma-mainboard.ads
@@ -21,7 +21,7 @@ use HW.GFX.GMA.Display_Probing;
private package GMA.Mainboard is
ports : constant Port_List :=
- (Internal,
+ (eDP,
HDMI1,
others => Disabled);
diff --git a/src/mainboard/razer/blade_stealth_kbl/gma-mainboard.ads b/src/mainboard/razer/blade_stealth_kbl/gma-mainboard.ads
index 4d55f2cbc8..82c66e0035 100644
--- a/src/mainboard/razer/blade_stealth_kbl/gma-mainboard.ads
+++ b/src/mainboard/razer/blade_stealth_kbl/gma-mainboard.ads
@@ -21,7 +21,7 @@ use HW.GFX.GMA.Display_Probing;
private package GMA.Mainboard is
ports : constant Port_List :=
- (Internal,
+ (eDP,
DP1,
DP2,
HDMI1,
diff --git a/src/mainboard/roda/rv11/variants/rv11/gma-mainboard.ads b/src/mainboard/roda/rv11/variants/rv11/gma-mainboard.ads
index c9d6a75030..bde759f752 100644
--- a/src/mainboard/roda/rv11/variants/rv11/gma-mainboard.ads
+++ b/src/mainboard/roda/rv11/variants/rv11/gma-mainboard.ads
@@ -20,6 +20,6 @@ use HW.GFX.GMA.Display_Probing;
private package GMA.Mainboard is
- ports : constant Port_List := (Internal, HDMI3, others => Disabled);
+ ports : constant Port_List := (eDP, HDMI3, others => Disabled);
end GMA.Mainboard;
diff --git a/src/mainboard/roda/rv11/variants/rw11/gma-mainboard.ads b/src/mainboard/roda/rv11/variants/rw11/gma-mainboard.ads
index 5f1bf50e77..fe7487500b 100644
--- a/src/mainboard/roda/rv11/variants/rw11/gma-mainboard.ads
+++ b/src/mainboard/roda/rv11/variants/rw11/gma-mainboard.ads
@@ -22,7 +22,7 @@ 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.
+ -- have a high-resolution display attached first, `eDP` last.
ports : constant Port_List :=
(DP2,
@@ -30,7 +30,7 @@ private package GMA.Mainboard is
HDMI2,
HDMI3,
Analog,
- Internal,
+ eDP,
others => Disabled);
end GMA.Mainboard;
diff --git a/src/mainboard/samsung/lumpy/Kconfig b/src/mainboard/samsung/lumpy/Kconfig
index 56304c9349..6e72921504 100644
--- a/src/mainboard/samsung/lumpy/Kconfig
+++ b/src/mainboard/samsung/lumpy/Kconfig
@@ -13,7 +13,7 @@ config BOARD_SPECIFIC_OPTIONS
select HAVE_OPTION_TABLE
select NORTHBRIDGE_INTEL_SANDYBRIDGE
select MAINBOARD_HAS_LIBGFXINIT
- select GFX_GMA_INTERNAL_IS_LVDS
+ select GFX_GMA_PANEL_1_ON_LVDS
select SOUTHBRIDGE_INTEL_BD82X6X
select SUPERIO_SMSC_MEC1308
select HAVE_IFD_BIN
diff --git a/src/mainboard/samsung/lumpy/gma-mainboard.ads b/src/mainboard/samsung/lumpy/gma-mainboard.ads
index e45320f36e..105b231e4f 100644
--- a/src/mainboard/samsung/lumpy/gma-mainboard.ads
+++ b/src/mainboard/samsung/lumpy/gma-mainboard.ads
@@ -28,6 +28,7 @@ private package GMA.Mainboard is
HDMI2,
HDMI3,
Analog,
- Internal);
+ LVDS,
+ others => Disabled);
end GMA.Mainboard;