diff options
author | Simon Glass <sjg@chromium.org> | 2022-10-21 03:23:16 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-10-31 18:04:00 +0300 |
commit | 5981d611788adce88974687d4d561965d964fd08 (patch) | |
tree | 03a1872897fde56d12926c414756bf94ddb7369c | |
parent | 8de9896aa61579da62103aa06e9ab49006b3e5ab (diff) | |
download | u-boot-5981d611788adce88974687d4d561965d964fd08.tar.xz |
vpl: Allow signature verification
Add the required Kconfig option so that signatures can be verified when
loading a configuration.
Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r-- | boot/Kconfig | 1 | ||||
-rw-r--r-- | common/Kconfig | 7 |
2 files changed, 7 insertions, 1 deletions
diff --git a/boot/Kconfig b/boot/Kconfig index 93344975a6..d5c582ebe8 100644 --- a/boot/Kconfig +++ b/boot/Kconfig @@ -320,7 +320,6 @@ config VPL_FIT_FULL_CHECK config VPL_FIT_SIGNATURE bool "Enable signature verification of FIT firmware within VPL" depends on VPL_DM - depends on VPL_LOAD_FIT || VPL_LOAD_FIT_FULL default y select FIT_SIGNATURE select VPL_FIT diff --git a/common/Kconfig b/common/Kconfig index 05c5e1cadb..21434c5cf1 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -1065,6 +1065,13 @@ config SPL_IMAGE_SIGN_INFO help Enable image_sign_info helper functions in SPL. +config VPL_IMAGE_SIGN_INFO + bool + select SHA1 + select SHA256 + help + Enable image_sign_info helper functions in SPL. + endif config FDT_SIMPLEFB |