From 29ed46caccd5cea8401c5d133895fa3a9d6f5030 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Tue, 5 May 2015 20:41:04 +0200 Subject: 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 Reviewed-on: http://review.coreboot.org/10107 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- .gitmodules | 3 +++ 3rdparty/vboot | 1 + src/vendorcode/google/chromeos/Makefile.inc | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) create mode 160000 3rdparty/vboot 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 index 0000000000..7dd3bd0fcf --- /dev/null +++ b/3rdparty/vboot @@ -0,0 +1 @@ +Subproject commit 7dd3bd0fcf565901aacc512cd29cefe19291c2e7 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 -- cgit v1.2.3