Skip to contentSkip to conversation

cmd/Kconfig: Tighten dependencies on CMD_BLOB

PATCH Applied Tom Rini 3 participants 3 messages Jul 2, 2025 – Jul 11, 2025

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 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.

---
Cc: Stefano Babic <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: "NXP i.MX U-Boot Team" <[email protected]>

---
 cmd/Kconfig | 1 +
 1 file changed, 1 insertion(+)
cmd/Kconfig +1 -0
index 19f47c893439..89f102855b0f 100644
@@ -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.
Signature · 1 line
2.43.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 8 lines

Subject: [PATCH] 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.

Quoted 5 lines

---
Cc: Stefano Babic <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: "NXP i.MX U-Boot Team" <[email protected]>

#2 lore raw
In reply to Tom Rini
Quoted 8 lines · Tom Rini

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.

Applied, thanks.