summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@chromium.org>2015-05-05 20:41:04 +0200
committerPatrick Georgi <pgeorgi@google.com>2015-05-05 22:49:34 +0200
commit29ed46caccd5cea8401c5d133895fa3a9d6f5030 (patch)
tree9fa6394478d772e3bb7f77b50125f12159ee54ed
parent26e24cc12de487c8fe350925147cb3442b49c240 (diff)
3rdparty/vboot: Add vboot
This allows providing a verified boot mechanism in the default distribution, as well as reusing vboot code like its crypto primitives for reasonably secure checksums over CBFS files. Change-Id: I729b249776b2bf7aa4b2f69bb18ec655b9b08d90 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Reviewed-on: http://review.coreboot.org/10107 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
-rw-r--r--.gitmodules3
m---------3rdparty/vboot0
-rw-r--r--src/vendorcode/google/chromeos/Makefile.inc2
3 files changed, 4 insertions, 1 deletions
diff --git a/.gitmodules b/.gitmodules
index cf32923a47..7d40675cc8 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -6,3 +6,6 @@
[submodule "util/nvidia-cbootimage"]
path = util/nvidia/cbootimage
url = ../nvidia-cbootimage.git
+[submodule "vboot"]
+ path = 3rdparty/vboot
+ url = ../vboot.git
diff --git a/3rdparty/vboot b/3rdparty/vboot
new file mode 160000
+Subproject 7dd3bd0fcf565901aacc512cd29cefe19291c2e
diff --git a/src/vendorcode/google/chromeos/Makefile.inc b/src/vendorcode/google/chromeos/Makefile.inc
index 33cdb26674..7c41ec8019 100644
--- a/src/vendorcode/google/chromeos/Makefile.inc
+++ b/src/vendorcode/google/chromeos/Makefile.inc
@@ -53,6 +53,6 @@ else
CFLAGS_common += -DMOCK_TPM=0
endif
-VB_SOURCE := vboot_reference
+VB_SOURCE := 3rdparty/vboot
subdirs-$(CONFIG_VBOOT_VERIFY_FIRMWARE) += vboot2
CPPFLAGS_common += -I$(VB_SOURCE)/firmware/include