From ccdef19cfbdfe19acf993872d646ba04ccfb6932 Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Mon, 7 Aug 2017 14:11:01 +0200 Subject: 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 Reviewed-on: https://review.coreboot.org/20894 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber --- src/drivers/intel/gma/Kconfig | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) (limited to 'src/drivers/intel') 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 -- cgit v1.2.3