]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
cmd/Kconfig: Tighten dependencies on CMD_BLOB
authorTom Rini <trini@konsulko.com>
Wed, 2 Jul 2025 01:05:11 +0000 (19:05 -0600)
committerFabio Estevam <festevam@gmail.com>
Thu, 10 Jul 2025 11:02:11 +0000 (08:02 -0300)
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 <trini@konsulko.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
cmd/Kconfig

index 313db793f1b028ceb964b086f8b3915a28c4b7a4..a8a52357fbd11ac3746babe05fa635097b992956 100644 (file)
@@ -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.