MLK-17914: cmd: blob: Add SECURE_BOOT and CAAM supported SoCs as dependency
authorBreno Lima <breno.lima@nxp.com>
Fri, 23 Mar 2018 19:25:33 +0000 (16:25 -0300)
committerYe Li <ye.li@nxp.com>
Mon, 2 Apr 2018 02:41:32 +0000 (19:41 -0700)
In order to build CMD_BLOB on i.MX CAAM supported devices it's
necessary to select SECURE_BOOT. Add SECURE_BOOT and CAAM supported
SoCs as dependency.

Signed-off-by: Breno Lima <breno.lima@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit 4afb519038d190687cac6d410e9ad65d0655f1c0)

cmd/Kconfig

index 5e651b2..72b95ad 100644 (file)
@@ -743,6 +743,8 @@ menu "Security commands"
 
 config CMD_BLOB
        bool "Enable the 'blob' command"
+       depends on !MX6ULL && !MX6SLL && !MX6SL && !IMX8M && !MX7ULP
+       select SECURE_BOOT if ARCH_MX6 || ARCH_MX7
        help
          This is used with the Freescale secure boot mechanism.