summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/intel/gma/Kconfig14
-rw-r--r--src/drivers/intel/gma/libgfxinit.h3
2 files changed, 11 insertions, 6 deletions
diff --git a/src/drivers/intel/gma/Kconfig b/src/drivers/intel/gma/Kconfig
index 207135139c..d57faa0fa8 100644
--- a/src/drivers/intel/gma/Kconfig
+++ b/src/drivers/intel/gma/Kconfig
@@ -74,13 +74,13 @@ config GFX_GMA
depends on MAINBOARD_USE_LIBGFXINIT || INTEL_GMA_LIBGFXINIT_EDID
select RAMSTAGE_LIBHWBASE
-config GFX_GMA_INTERNAL_IS_EDP
+config GFX_GMA_PANEL_1_ON_EDP
bool
depends on GFX_GMA || MAINBOARD_HAS_LIBGFXINIT
- default n if GFX_GMA_INTERNAL_IS_LVDS
+ default n if GFX_GMA_PANEL_1_ON_LVDS
default y
-config GFX_GMA_INTERNAL_IS_LVDS
+config GFX_GMA_PANEL_1_ON_LVDS
bool
depends on GFX_GMA || MAINBOARD_HAS_LIBGFXINIT
default y if NORTHBRIDGE_INTEL_GM45 || NORTHBRIDGE_INTEL_NEHALEM
@@ -102,11 +102,15 @@ config GFX_GMA_GENERATION
default "Ironlake" if NORTHBRIDGE_INTEL_NEHALEM || NORTHBRIDGE_INTEL_SANDYBRIDGE
default "G45" if NORTHBRIDGE_INTEL_GM45 || NORTHBRIDGE_INTEL_X4X
-config GFX_GMA_INTERNAL_PORT
+config GFX_GMA_PANEL_1_PORT
string
- default "DP" if GFX_GMA_INTERNAL_IS_EDP
+ default "eDP" if GFX_GMA_PANEL_1_ON_EDP
default "LVDS"
+config GFX_GMA_PANEL_2_PORT
+ string
+ default "Disabled"
+
config GFX_GMA_ANALOG_I2C_PORT
string
default "PCH_HDMI_B" if GFX_GMA_ANALOG_I2C_HDMI_B
diff --git a/src/drivers/intel/gma/libgfxinit.h b/src/drivers/intel/gma/libgfxinit.h
index c4a8a5b4d2..7a00b5cf65 100644
--- a/src/drivers/intel/gma/libgfxinit.h
+++ b/src/drivers/intel/gma/libgfxinit.h
@@ -16,7 +16,8 @@
enum {
GMA_PORT_DISABLED,
- GMA_PORT_INTERNAL,
+ GMA_PORT_LVDS,
+ GMA_PORT_EDP,
GMA_PORT_DP1,
GMA_PORT_DP2,
GMA_PORT_DP3,