From: Breno Lima <breno.l...@nxp.com>

In order to build CMD_BLOB on i.MX CAAM supported devices it's
necessary to select IMX_HAB. Add IMX_HAB and CAAM supported
SoCs as dependency.

Signed-off-by: Breno Lima <breno.l...@nxp.com>
Reviewed-by: Ye Li <ye...@nxp.com>
Signed-off-by: Peng Fan <peng....@nxp.com>
---
 cmd/Kconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/cmd/Kconfig b/cmd/Kconfig
index eff238cb38..1da4539baf 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1959,6 +1959,8 @@ config CMD_AES
 
 config CMD_BLOB
        bool "Enable the 'blob' command"
+       depends on !MX6ULL && !MX6SLL && !MX6SL && !IMX8M && !MX7ULP
+       select IMX_HAB if ARCH_MX6 || ARCH_MX7
        help
          This is used with the Freescale secure boot mechanism.
 
-- 
2.25.1

Reply via email to