]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
imx: cmd_dek: Enable DEK only for chips supporting CAAM
authorYe Li <ye.li@nxp.com>
Thu, 25 Mar 2021 09:30:18 +0000 (17:30 +0800)
committerStefano Babic <sbabic@denx.de>
Thu, 8 Apr 2021 07:18:29 +0000 (09:18 +0200)
Since cmd_dek is using CAAM JR, so enable the CMD_DEK only when
HAS_CAAM is set

Signed-off-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/mach-imx/Kconfig

index 8c00ad13915b7a6bff35c702b675c122bf8cc74c..ca06c1eaaf6deaa128e1e5c3edc70568d6d543b6 100644 (file)
@@ -45,7 +45,7 @@ config IMX_HAB
        bool "Support i.MX HAB features"
        depends on ARCH_MX7 || ARCH_MX6 || ARCH_MX5 || ARCH_IMX8M
        select FSL_CAAM if HAS_CAAM
-       imply CMD_DEKBLOB
+       imply CMD_DEKBLOB if HAS_CAAM
        help
          This option enables the support for secure boot (HAB).
          See doc/imx/habv4/* for more details.