diff mbox series

[21/37] cmd: blob: Add IMX_HAB and CAAM supported SoCs as dependency

Message ID 20210325093036.3270101-22-peng.fan@oss.nxp.com
State Accepted
Commit 4e682d555d80875ad062e3366b8970e199e04395
Delegated to: Stefano Babic
Headers show
Series imx: hab/caam new feature and update | expand

Commit Message

Peng Fan (OSS) March 25, 2021, 9:30 a.m. UTC
From: Breno Lima <breno.lima@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.lima@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
 cmd/Kconfig | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

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.