summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLEROY Christophe <christophe.leroy@c-s.fr>2015-04-17 16:32:20 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2015-04-21 09:14:44 +0800
commit0635b7db143195281c5a29d272bb836be58af1d4 (patch)
treedf7fc60c5fbc44d85e9ea72df40c607bd5629fc0
parent2d02905ebd22c0271a25e424ab209c8b7067be67 (diff)
downloadop-kernel-dev-0635b7db143195281c5a29d272bb836be58af1d4.zip
op-kernel-dev-0635b7db143195281c5a29d272bb836be58af1d4.tar.gz
crypto: talitos - Add fsl,sec1.0 compatible
We add a specific compatible for SEC1, to handle the differences between SEC1 and SEC2+ Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r--drivers/crypto/talitos.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/crypto/talitos.c b/drivers/crypto/talitos.c
index f1406d7b..c04074d 100644
--- a/drivers/crypto/talitos.c
+++ b/drivers/crypto/talitos.c
@@ -3086,9 +3086,16 @@ err_out:
}
static const struct of_device_id talitos_match[] = {
+#ifdef CONFIG_CRYPTO_DEV_TALITOS1
+ {
+ .compatible = "fsl,sec1.0",
+ },
+#endif
+#ifdef CONFIG_CRYPTO_DEV_TALITOS2
{
.compatible = "fsl,sec2.0",
},
+#endif
{},
};
MODULE_DEVICE_TABLE(of, talitos_match);
OpenPOWER on IntegriCloud