summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2017-08-07 14:11:01 +0200
committerNico Huber <nico.h@gmx.de>2017-08-11 19:49:22 +0000
commitccdef19cfbdfe19acf993872d646ba04ccfb6932 (patch)
treeb4a9e90eeeaf65db32b0fc385d882aea4ea63496 /src/drivers
parent0f6187a55a0ec30e462f23795eb4d09d1eb66cbf (diff)
downloadcoreboot-ccdef19cfbdfe19acf993872d646ba04ccfb6932.tar.xz
driver/intel/gma: Allow use of GFX_GMA_ANALOG_I2C_HDMI_x in C NGI
These Kconfig options can be reused for the same purpose of selecting the correct i2c pins for probing the analog output EDID in C native graphic init. For this purpose this patch makes those options independent of GFX_GMA and MAINBOARD_HAS_LIBGFXINIT. Change-Id: If29c541d414e12b95d96ae9c249a7a20e863fe06 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/20894 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/intel/gma/Kconfig20
1 files changed, 8 insertions, 12 deletions
diff --git a/src/drivers/intel/gma/Kconfig b/src/drivers/intel/gma/Kconfig
index 1e60a425da..a4b8a4a161 100644
--- a/src/drivers/intel/gma/Kconfig
+++ b/src/drivers/intel/gma/Kconfig
@@ -47,6 +47,14 @@ config INTEL_GMA_SSC_ALTERNATE_REF
supported platform with a choice seems to be Pineview, where the
alternative is 100MHz vs. the default 96MHz.
+config GFX_GMA_ANALOG_I2C_HDMI_B
+ bool
+
+config GFX_GMA_ANALOG_I2C_HDMI_C
+ bool
+
+config GFX_GMA_ANALOG_I2C_HDMI_D
+ bool
config GFX_GMA
def_bool y
@@ -85,18 +93,6 @@ config GFX_GMA_INTERNAL_PORT
default "DP" if GFX_GMA_INTERNAL_IS_EDP
default "LVDS"
-config GFX_GMA_ANALOG_I2C_HDMI_B
- bool
- default n
-
-config GFX_GMA_ANALOG_I2C_HDMI_C
- bool
- default n
-
-config GFX_GMA_ANALOG_I2C_HDMI_D
- bool
- default n
-
config GFX_GMA_ANALOG_I2C_PORT
string
default "PCH_HDMI_B" if GFX_GMA_ANALOG_I2C_HDMI_B