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]> --- Changes in v2: - Update tools-only_defconfig to enable CONFIG_FIT_SIGNATURE --- boot/Kconfig | 4 ++-- configs/tools-only_defconfig | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/boot/Kconfig b/boot/Kconfig index 4e9bc9491a06..d81e56e8528c 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 42ec59575100..3b7eea55f77b 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 -- 2.43.0

