summaryrefslogtreecommitdiff
path: root/drivers/crypto/caam/Kconfig
diff options
context:
space:
mode:
authorHoria Geantă <horia.geanta@nxp.com>2017-01-19 15:58:43 (GMT)
committerXie Xiaobo <xiaobo.xie@nxp.com>2017-09-25 07:25:23 (GMT)
commit876788ab58014a34f65639e82ecd7b7acca78bcd (patch)
treef627d1c41f1a5705e764fd2532f4e7ded5161945 /drivers/crypto/caam/Kconfig
parent0d2b1ae588773ca2a2c2bcec1a16ae0c9626cdb1 (diff)
downloadlinux-876788ab58014a34f65639e82ecd7b7acca78bcd.tar.xz
crypto: caam - fix LS1021A support on ARMv7 multiplatform kernel
When built using multi_v7_defconfig, driver does not work on LS1021A: [...] caam 1700000.crypto: can't identify CAAM ipg clk: -2 caam: probe of 1700000.crypto failed with error -2 [...] It turns out we have to detect at runtime whether driver is running on an i.MX platform or not. Fixes: 6c3af9559352 ("crypto: caam - add support for LS1021A") Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Diffstat (limited to 'drivers/crypto/caam/Kconfig')
-rw-r--r--drivers/crypto/caam/Kconfig4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/crypto/caam/Kconfig b/drivers/crypto/caam/Kconfig
index a9931bd..ba428e0 100644
--- a/drivers/crypto/caam/Kconfig
+++ b/drivers/crypto/caam/Kconfig
@@ -5,6 +5,7 @@ config CRYPTO_DEV_FSL_CAAM
tristate "Freescale CAAM-Multicore platform driver backend"
depends on FSL_SOC || ARCH_MXC || ARCH_LAYERSCAPE
select CRYPTO_DEV_FSL_CAAM_COMMON
+ select SOC_BUS
help
Enables the driver module for Freescale's Cryptographic Accelerator
and Assurance Module (CAAM), also known as the SEC version 4 (SEC4).
@@ -17,9 +18,6 @@ config CRYPTO_DEV_FSL_CAAM
if CRYPTO_DEV_FSL_CAAM
-config CRYPTO_DEV_FSL_CAAM_IMX
- def_bool SOC_IMX6 || SOC_IMX7D
-
config CRYPTO_DEV_FSL_CAAM_DEBUG
bool "Enable debug output in CAAM driver"
help