summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2017-03-13 19:56:01 +0100
committerNico Huber <nico.h@gmx.de>2017-03-31 13:40:12 +0200
commit1e0543541ebd9cc9b30a15029de047a4aebb15b9 (patch)
treeb80ddde4f664a5de09cafd87ba29106a23f748e5 /src/drivers
parenteb1bdd89dc32e03bb59965016deedf00239ea5cf (diff)
drivers/intel/gma: Guard GFX_GMA_* configs
It's confusing to have these Kconfig symbols for non-Intel boards. Change-Id: I4903c816258e5d2b8ed8704295b777aee175e8bc Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/18795 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/intel/gma/Kconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/drivers/intel/gma/Kconfig b/src/drivers/intel/gma/Kconfig
index 23290d56f4..df45083b5c 100644
--- a/src/drivers/intel/gma/Kconfig
+++ b/src/drivers/intel/gma/Kconfig
@@ -53,6 +53,16 @@ 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
+ def_bool y
+ depends on NORTHBRIDGE_INTEL_NEHALEM || NORTHBRIDGE_INTEL_SANDYBRIDGE \
+ || NORTHBRIDGE_INTEL_IVYBRIDGE || NORTHBRIDGE_INTEL_HASWELL \
+ || SOC_INTEL_BROADWELL || SOC_INTEL_SKYLAKE
+ depends on MAINBOARD_HAS_LIBGFXINIT
+
+if GFX_GMA
+
config GFX_GMA_CPU
string
default "Skylake" if SOC_INTEL_SKYLAKE
@@ -103,3 +113,5 @@ config GFX_GMA_ANALOG_I2C_PORT
Boards with a DVI-I connector share the I2C pins for both analog and
digital displays. In that case, the EDID for a VGA display has to be
read over the I2C interface of the coupled digital port.
+
+endif