From: Tom Rini Date: Wed, 2 Jul 2025 01:05:11 +0000 (-0600) Subject: cmd/Kconfig: Tighten dependencies on CMD_BLOB X-Git-Tag: v2025.10-rc1~93^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=097e01d56f5689f62e9a86951331024971047968;p=thirdparty%2Fu-boot.git cmd/Kconfig: Tighten dependencies on CMD_BLOB In order for this command to build we need to compile drivers/crypto/fsl/fsl_blob.c and this in turn includes drivers/crypto/fsl/jr.h which references "ccsr_sec_t" which is only a defined type for SYS_FSL_SEC_COMPAT >= 4. Express that requirement in Kconfig as well. Signed-off-by: Tom Rini Reviewed-by: Peng Fan --- diff --git a/cmd/Kconfig b/cmd/Kconfig index 313db793f1b..a8a52357fbd 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -2629,6 +2629,7 @@ config CMD_AES config CMD_BLOB bool "Enable the 'blob' command" depends on !MX6ULL && !MX6SLL && !MX6SL + depends on SYS_FSL_SEC_COMPAT >= 4 select IMX_HAB if ARCH_MX6 || ARCH_MX7 || ARCH_MX7ULP || ARCH_IMX8M help This is used with the Freescale secure boot mechanism.