cmd: blob: Add IMX_HAB and CAAM supported SoCs as dependency
authorBreno Lima <breno.lima@nxp.com>
Thu, 25 Mar 2021 09:30:20 +0000 (17:30 +0800)
committerStefano Babic <sbabic@denx.de>
Thu, 8 Apr 2021 07:18:29 +0000 (09:18 +0200)
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

index 9bf5e863e4d1e17e1e380658ecc1f19a80e5df0b..e485dd8bea2971c946ab8e10d2dd6014f39b7dd0 100644 (file)
@@ -1960,6 +1960,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.