Make CAAM_64BIT selectable only in case FSL_CAAM is selected,
otherwise CAAM_64BIT shows up in configs of unrelated platforms.

Signed-off-by: Marek Vasut <[email protected]>
---
Cc: Gaurav Jain <[email protected]>
Cc: Heiko Schocher <[email protected]>
Cc: Peng Fan <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: [email protected]
---
 drivers/crypto/fsl/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/crypto/fsl/Kconfig b/drivers/crypto/fsl/Kconfig
index eb01c6cf700..936e4d9b513 100644
--- a/drivers/crypto/fsl/Kconfig
+++ b/drivers/crypto/fsl/Kconfig
@@ -20,6 +20,7 @@ config SYS_FSL_MAX_NUM_OF_SEC
 
 config CAAM_64BIT
        bool
+       depends on FSL_CAAM
        default y if PHYS_64BIT && !ARCH_IMX8M && !ARCH_IMX8
        help
          Select Crypto driver for 64 bits CAAM version
-- 
2.53.0

Reply via email to