summaryrefslogtreecommitdiff
path: root/src/drivers/intel
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2023-12-20 20:56:32 +0100
committerShelley Chen <shchen@google.com>2023-12-26 17:41:36 +0000
commit1b44a05d5c84e35d91dbc16721e95be46c67ea40 (patch)
tree214ee32e153763ee27c3492fa4cc99f956468b95 /src/drivers/intel
parentacbc03c79d5cc31b2ee87d744635dabc4bd27eb9 (diff)
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>
Diffstat (limited to 'src/drivers/intel')
-rw-r--r--src/drivers/intel/gma/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/intel/gma/Kconfig b/src/drivers/intel/gma/Kconfig
index ca0143d86c..9e7e2a4146 100644
--- a/src/drivers/intel/gma/Kconfig
+++ b/src/drivers/intel/gma/Kconfig
@@ -71,6 +71,7 @@ config VBT_CBFS_COMPRESSION_DEFAULT_NONE
choice
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_NONE if VBT_CBFS_COMPRESSION_DEFAULT_NONE
default VBT_CBFS_COMPRESSION_LZMA