drivers/intel/gma/Kconfig: Simplify CFL/WHL/CML conditions

Change-Id: Id56761b2a57754b8f8d726a4bd2674ffa6fd1159
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/52715
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by:  Felix Singer <felixsinger@posteo.net>
Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:
Angel Pons 2021-04-27 22:28:42 +02:00 committed by Patrick Georgi
parent 1d9f8b0c42
commit 69007ecc68
1 changed files with 2 additions and 5 deletions

View File

@ -86,8 +86,7 @@ config GFX_GMA
|| NORTHBRIDGE_INTEL_IRONLAKE || NORTHBRIDGE_INTEL_SANDYBRIDGE \
|| NORTHBRIDGE_INTEL_HASWELL || SOC_INTEL_BROADWELL \
|| SOC_INTEL_COMMON_SKYLAKE_BASE || SOC_INTEL_APOLLOLAKE \
|| SOC_INTEL_COFFEELAKE \
|| SOC_INTEL_WHISKEYLAKE || SOC_INTEL_COMETLAKE
|| SOC_INTEL_CANNONLAKE_BASE
depends on MAINBOARD_USE_LIBGFXINIT || INTEL_GMA_LIBGFXINIT_EDID
select RAMSTAGE_LIBHWBASE
@ -113,9 +112,7 @@ config GFX_GMA_DYN_CPU
config GFX_GMA_GENERATION
string
default "Broxton" if SOC_INTEL_APOLLOLAKE
default "Skylake" if SOC_INTEL_COMMON_SKYLAKE_BASE || \
SOC_INTEL_COFFEELAKE || SOC_INTEL_WHISKEYLAKE || \
SOC_INTEL_COMETLAKE
default "Skylake" if SOC_INTEL_COMMON_SKYLAKE_BASE || SOC_INTEL_CANNONLAKE_BASE
default "Haswell" if NORTHBRIDGE_INTEL_HASWELL || SOC_INTEL_BROADWELL
default "Ironlake" if NORTHBRIDGE_INTEL_IRONLAKE || NORTHBRIDGE_INTEL_SANDYBRIDGE
default "G45" if NORTHBRIDGE_INTEL_GM45 || NORTHBRIDGE_INTEL_X4X