summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2026-03-15 19:25:11 -0600
committerTom Rini <[email protected]>2026-03-30 13:56:35 -0600
commitd09256283f720f43a873855caeb2904eacd22273 (patch)
treed240f3e6ff7c75a340edc049d98e59b088cee11e
parentd9eee3d17882ec40f8ca5e231046bbf287ab4369 (diff)
FIT: Image pre-load signature support must select not depends on FIT_SIGNATURE
The options to enable pre-load signature support (full U-Boot or in SPL) must depend on FIT_SIGNATURE being enabled, and not select it. Signed-off-by: Tom Rini <[email protected]>
-rw-r--r--boot/Kconfig4
-rw-r--r--configs/tools-only_defconfig1
2 files changed, 3 insertions, 2 deletions
diff --git a/boot/Kconfig b/boot/Kconfig
index 4e9bc9491a0..d81e56e8528 100644
--- a/boot/Kconfig
+++ b/boot/Kconfig
@@ -1809,7 +1809,7 @@ config SPL_IMAGE_PRE_LOAD
config IMAGE_PRE_LOAD_SIG
bool "Image pre-load signature support"
depends on IMAGE_PRE_LOAD
- select FIT_SIGNATURE
+ depends on FIT_SIGNATURE
select RSA
select RSA_VERIFY_WITH_PKEY
help
@@ -1826,7 +1826,7 @@ config IMAGE_PRE_LOAD_SIG
config SPL_IMAGE_PRE_LOAD_SIG
bool "Image pre-load signature support within SPL"
depends on SPL_IMAGE_PRE_LOAD && IMAGE_PRE_LOAD_SIG
- select SPL_FIT_SIGNATURE
+ depends on SPL_FIT_SIGNATURE
select SPL_RSA
select SPL_RSA_VERIFY_WITH_PKEY
help
diff --git a/configs/tools-only_defconfig b/configs/tools-only_defconfig
index 42ec5957510..3b7eea55f77 100644
--- a/configs/tools-only_defconfig
+++ b/configs/tools-only_defconfig
@@ -9,6 +9,7 @@ CONFIG_EFI_LOADER=n
CONFIG_ANDROID_BOOT_IMAGE=y
CONFIG_TIMESTAMP=y
CONFIG_FIT=y
+CONFIG_FIT_SIGNATURE=y
CONFIG_BOOTSTD_FULL=n
CONFIG_BOOTMETH_CROS=n
CONFIG_BOOTMETH_VBE=n