summaryrefslogtreecommitdiff
path: root/payloads/libpayload/vboot
diff options
context:
space:
mode:
authorJakub Czapiga <jacz@semihalf.com>2023-09-08 13:23:59 +0000
committerMartin L Roth <gaumless@gmail.com>2023-09-18 15:43:45 +0000
commit34ec32d54bcaa5337e067b6d4dd1a12c187240d9 (patch)
tree1caac7c8039f8a585f4201cb416ea134ad956954 /payloads/libpayload/vboot
parentb2163ea84b683d6dc4630125b9921a5c681ed434 (diff)
libpayload/libcbfs: Add VBOOT_CBFS_INTEGRATION support
If LP_VBOOT_CBFS_INTEGRATION is enabled, then libcbfs will reboot with vboot failure in non-recovery mode on CBFS file hash mismatch. BUg=b:197114807 TEST=Build with VBOOT_CBFS_INTEGRATION enabled and boot on google/ovis4es device Change-Id: Ic0f62212b7217b384e8c4cbd9535fe4243301f8c Signed-off-by: Jakub Czapiga <jacz@semihalf.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/77726 Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Reviewed-by: Yu-Ping Wu <yupingso@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'payloads/libpayload/vboot')
-rw-r--r--payloads/libpayload/vboot/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/payloads/libpayload/vboot/Kconfig b/payloads/libpayload/vboot/Kconfig
index 3b02155fc3..25ca35ea19 100644
--- a/payloads/libpayload/vboot/Kconfig
+++ b/payloads/libpayload/vboot/Kconfig
@@ -9,6 +9,13 @@ config VBOOT_LIB
if VBOOT_LIB
+config VBOOT_CBFS_INTEGRATION
+ bool "Enable vboot and CBFS integration"
+ default n
+ depends on CBFS_VERIFICATION
+ help
+ Say yes to request reboot on CBFS file hash mismatch in non-recovery mode.
+
config VBOOT_TPM2_MODE
bool "TPM2 Mode"
default y