HAS_CAAM should be enabled for all architecture support it. Whereas
FSL_CAAM enables a driver for a device which may be managed by
another system, like OP-TEE. Allow disabling u-boot FSL CAAM driver
on systems with CAAM to prevent access conflicts.

Signed-off-by: Oleksandr Suvorov <oleksandr.suvo...@foundries.io>
---

 arch/arm/mach-imx/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
index d94b5828d0d..3c178fb435f 100644
--- a/arch/arm/mach-imx/Kconfig
+++ b/arch/arm/mach-imx/Kconfig
@@ -52,7 +52,7 @@ config USE_IMXIMG_PLUGIN
 config IMX_HAB
        bool "Support i.MX HAB features"
        depends on ARCH_MX7 || ARCH_MX6 || ARCH_MX5 || ARCH_IMX8M || ARCH_MX7ULP
-       select FSL_CAAM if HAS_CAAM
+       imply FSL_CAAM if HAS_CAAM
        imply CMD_DEKBLOB if HAS_CAAM
        help
          This option enables the support for secure boot (HAB).
-- 
2.41.0

Reply via email to