1fa3da4d9b
This patch introduces building and linking of 3rdparty/vboot with libpayload. VBoot can be enabled by setting CONFIG_LP_VBOOT_LIB. Moreover it can be configured to use either TPM or TPM 2.0 mode, and whether to use SHA256 processor extension instructions on x86. Change-Id: I2d9d766a461edaa0081041c020ecf580fd2ca64e Signed-off-by: Jakub Czapiga <jacz@semihalf.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60080 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
25 lines
589 B
Text
25 lines
589 B
Text
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
config VBOOT_LIB
|
|
bool "Compile verified boot (vboot) library"
|
|
default n
|
|
help
|
|
This option enables compiling and building vboot libraries vboot_fw and tlcl.
|
|
|
|
if VBOOT_LIB
|
|
|
|
config VBOOT_TPM2_MODE
|
|
bool "TPM2 Mode"
|
|
default y
|
|
help
|
|
This option enables TPM 2.0 support in vboot. Disabling it allows using TPM 1.2.
|
|
|
|
config VBOOT_X86_SHA_EXT
|
|
bool "x86 SHA Extension"
|
|
default n
|
|
depends on ARCH_X86
|
|
help
|
|
This option enables SHA256 implementation using x86 SHA processor extension
|
|
instructions: sha256msg1, sha256msg2, sha256rnds2.
|
|
|
|
endif
|