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>
This commit is contained in:
Simon Glass 2022-10-20 18:23:16 -06:00 committed by Tom Rini
parent 8de9896aa6
commit 5981d61178
2 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -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