[coreboot-gerrit] Change in coreboot[master]: nb/sandybridge: add option to include VBT in CBFS

Matt DeVillier (Code Review) gerrit at coreboot.org
Fri Jun 23 20:18:56 CEST 2017


Matt DeVillier has uploaded this change for review. ( https://review.coreboot.org/20316


Change subject: nb/sandybridge: add option to include VBT in CBFS
......................................................................

nb/sandybridge: add option to include VBT in CBFS

Add option to include vbt.bin in CBFS for injection into
ACPI OpRegion in leiu of using a VBIOS.

Change-Id: I6b52c782c45ef4bf83439b10e25034ea5bbaaf73
Signed-off-by: Matt DeVillier <matt.devillier at gmail.com>
---
M src/northbridge/intel/sandybridge/Kconfig
M src/northbridge/intel/sandybridge/Makefile.inc
2 files changed, 18 insertions(+), 0 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/16/20316/1

diff --git a/src/northbridge/intel/sandybridge/Kconfig b/src/northbridge/intel/sandybridge/Kconfig
index ae5ddfc..8b29419 100644
--- a/src/northbridge/intel/sandybridge/Kconfig
+++ b/src/northbridge/intel/sandybridge/Kconfig
@@ -121,4 +121,18 @@
 
 endif # !USE_NATIVE_RAMINIT
 
+config ADD_VBT_DATA_FILE
+	bool "Add a Video Bios Table (VBT) binary to CBFS"
+	depends on !VGA_BIOS
+	help
+	  Add a VBT file data file to CBFS. The VBT describes the integrated
+	  GPU and connections, and is needed in leiu of a VBIOS in order to
+	  initialize the display.
+
+config VBT_FILE
+	string "VBT binary path and filename"
+	depends on ADD_VBT_DATA_FILE
+	help
+	  The path and filename of the VBT binary.
+
 endif
diff --git a/src/northbridge/intel/sandybridge/Makefile.inc b/src/northbridge/intel/sandybridge/Makefile.inc
index 846d31b..8bca5bb 100644
--- a/src/northbridge/intel/sandybridge/Makefile.inc
+++ b/src/northbridge/intel/sandybridge/Makefile.inc
@@ -57,4 +57,8 @@
 mrc.cache-type := mrc_cache
 endif
 
+cbfs-files-$(CONFIG_ADD_VBT_DATA_FILE) += vbt.bin
+vbt.bin-file := $(call strip_quotes,$(CONFIG_VBT_FILE))
+vbt.bin-type := raw
+
 endif

-- 
To view, visit https://review.coreboot.org/20316
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I6b52c782c45ef4bf83439b10e25034ea5bbaaf73
Gerrit-Change-Number: 20316
Gerrit-PatchSet: 1
Gerrit-Owner: Matt DeVillier <matt.devillier at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20170623/07bb1028/attachment-0001.html>


More information about the coreboot-gerrit mailing list