aboutsummaryrefslogtreecommitdiff
path: root/src/device/Kconfig
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2018-05-28 21:09:21 +0200
committerNico Huber <nico.h@gmx.de>2018-06-06 14:58:11 +0000
commit7225a366bd5d2a315336810bf86a7a7f156bed10 (patch)
tree9fd2c8e75b8ef597a897955aae4ac4123bc8dc3b /src/device/Kconfig
parentec151f09240b701e12708990079bb37cf1ca9766 (diff)
drivers/intel/gma: Include mainboard data.vbt
This adds a INTEL_GMA_VBT_HAVE_DATA_FILE Kconfig option for the path to point to the mainboard dir and to select INTEL_GMA_ADD_VBT_DATA_FILE by default. Change-Id: I730cb0737945631e2d5379a9e26b8c039ec6dc49 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/26653 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/device/Kconfig')
-rw-r--r--src/device/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/device/Kconfig b/src/device/Kconfig
index 3d1d3fe52a..1ed9b1bc93 100644
--- a/src/device/Kconfig
+++ b/src/device/Kconfig
@@ -598,9 +598,16 @@ config VGA_BIOS_ID
Under GNU/Linux you can run `lspci -nn` to list the IDs of your PCI devices.
+config INTEL_GMA_VBT_HAVE_DATA_FILE
+ bool
+ help
+ Select this in the mainboard Kconfig to indicate the board has
+ a data.vbt file.
+
config INTEL_GMA_ADD_VBT_DATA_FILE
depends on SOC_INTEL_COMMON || CPU_INTEL_COMMON
bool "Add a Video Bios Table (VBT) binary to CBFS"
+ default y if INTEL_GMA_VBT_HAVE_DATA_FILE
help
Add a VBT data file to CBFS. The VBT describes the integrated
GPU and connections, and is needed by the GOP driver integrated into
@@ -609,6 +616,9 @@ config INTEL_GMA_ADD_VBT_DATA_FILE
config INTEL_GMA_VBT_FILE
string "VBT binary path and filename"
depends on INTEL_GMA_ADD_VBT_DATA_FILE
+ default "src/mainboard/$(MAINBOARDDIR)/variants/$(VARIANT_DIR)/data.vbt" \
+ if INTEL_GMA_VBT_HAVE_DATA_FILE && VARIANT_DIR != ""
+ default "src/mainboard/$(MAINBOARDDIR)/data.vbt" if INTEL_GMA_VBT_HAVE_DATA_FILE
default "3rdparty/blobs/mainboard/$(MAINBOARDDIR)/vbt.bin"
help
The path and filename of the VBT binary.