]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
vpl: Allow signature verification
authorSimon Glass <sjg@chromium.org>
Fri, 21 Oct 2022 00:23:16 +0000 (18:23 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 31 Oct 2022 15:04:00 +0000 (11:04 -0400)
Add the required Kconfig option so that signatures can be verified when
loading a configuration.

Signed-off-by: Simon Glass <sjg@chromium.org>
boot/Kconfig
common/Kconfig

index 93344975a639b31fb5c5f8a93708a402a8b41781..d5c582ebe8c802a83584f9b4e18a7ff97d888301 100644 (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
index 05c5e1cadb86b0454e309c8fe165a70f5dda8b6f..21434c5cf16a7e1ba06d6cdbca625826a654fb1b 100644 (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