[PATCH] cmd/Kconfig: Tighten dependencies on CMD_BLOB

Tom Rini trini at konsulko.com
Wed Jul 2 03:05:11 CEST 2025


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 at konsulko.com>
---
Cc: Stefano Babic <sbabic at nabladev.com>
Cc: Fabio Estevam <festevam at gmail.com>
Cc: "NXP i.MX U-Boot Team" <uboot-imx at nxp.com>
---
 cmd/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cmd/Kconfig b/cmd/Kconfig
index 19f47c893439..89f102855b0f 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -2621,6 +2621,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.
-- 
2.43.0



More information about the U-Boot mailing list