aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/intel/gma/Kconfig
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2019-02-18 01:16:22 +0100
committerPatrick Georgi <pgeorgi@google.com>2019-03-27 08:30:40 +0000
commitfde7c317c2a6db0c35005b598042dd5509743207 (patch)
tree897d9e8aa267f7572d45fdb7476e217a4be9f567 /src/drivers/intel/gma/Kconfig
parenta02161c41e0c2c5d835e936b779f8bf8827b713e (diff)
drivers/intel/gma: Make libgfxinit available w/o gfxinit
We might want to make use of libgfxinit functions without using it for actual graphics init. Change-Id: I29c3b19989acb678d0d447e83d38bad9d584caa9 Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/31455 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/drivers/intel/gma/Kconfig')
-rw-r--r--src/drivers/intel/gma/Kconfig25
1 files changed, 14 insertions, 11 deletions
diff --git a/src/drivers/intel/gma/Kconfig b/src/drivers/intel/gma/Kconfig
index a5c8495185..4f897fab13 100644
--- a/src/drivers/intel/gma/Kconfig
+++ b/src/drivers/intel/gma/Kconfig
@@ -69,7 +69,20 @@ config GFX_GMA
|| NORTHBRIDGE_INTEL_NEHALEM || NORTHBRIDGE_INTEL_SANDYBRIDGE \
|| NORTHBRIDGE_INTEL_IVYBRIDGE || NORTHBRIDGE_INTEL_HASWELL \
|| SOC_INTEL_BROADWELL || SOC_INTEL_SKYLAKE || SOC_INTEL_APOLLOLAKE
- depends on MAINBOARD_HAS_LIBGFXINIT
+ depends on MAINBOARD_USE_LIBGFXINIT
+ select RAMSTAGE_LIBHWBASE
+
+config GFX_GMA_INTERNAL_IS_EDP
+ bool
+ depends on GFX_GMA || MAINBOARD_HAS_LIBGFXINIT
+ default n if GFX_GMA_INTERNAL_IS_LVDS
+ default y
+
+config GFX_GMA_INTERNAL_IS_LVDS
+ bool
+ depends on GFX_GMA || MAINBOARD_HAS_LIBGFXINIT
+ default y if NORTHBRIDGE_INTEL_GM45 || NORTHBRIDGE_INTEL_NEHALEM
+ default n
if GFX_GMA
@@ -89,16 +102,6 @@ config GFX_GMA_CPU_VARIANT
default "ULT" if (SOC_INTEL_SKYLAKE && !SKYLAKE_SOC_PCH_H) || SOC_INTEL_BROADWELL || NORTHBRIDGE_INTEL_HASWELL
default "Normal"
-config GFX_GMA_INTERNAL_IS_EDP
- bool
- default n if GFX_GMA_INTERNAL_IS_LVDS
- default y
-
-config GFX_GMA_INTERNAL_IS_LVDS
- bool
- default y if NORTHBRIDGE_INTEL_GM45 || NORTHBRIDGE_INTEL_NEHALEM
- default n
-
config GFX_GMA_INTERNAL_PORT
string
default "DP" if GFX_GMA_INTERNAL_IS_EDP