drivers/intel/gma: Only show the choice when a VBT is to be added

Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Change-Id: I3bb71da8ea47f7365ae3895f5477f2a765256e3e
Reviewed-on: https://review.coreboot.org/c/coreboot/+/79667
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Jérémy Compostella <jeremy.compostella@intel.com>
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:
Arthur Heymans 2023-12-20 20:56:32 +01:00 committed by Shelley Chen
parent acbc03c79d
commit 1b44a05d5c

View File

@ -71,6 +71,7 @@ config VBT_CBFS_COMPRESSION_DEFAULT_NONE
choice choice
prompt "VBT Compression algorithm" prompt "VBT Compression algorithm"
depends on INTEL_GMA_ADD_VBT
default VBT_CBFS_COMPRESSION_LZ4 if VBT_CBFS_COMPRESSION_DEFAULT_LZ4 default VBT_CBFS_COMPRESSION_LZ4 if VBT_CBFS_COMPRESSION_DEFAULT_LZ4
default VBT_CBFS_COMPRESSION_NONE if VBT_CBFS_COMPRESSION_DEFAULT_NONE default VBT_CBFS_COMPRESSION_NONE if VBT_CBFS_COMPRESSION_DEFAULT_NONE
default VBT_CBFS_COMPRESSION_LZMA default VBT_CBFS_COMPRESSION_LZMA