summaryrefslogtreecommitdiff
path: root/drivers/crypto/omap-sham.c
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2015-02-26 16:49:53 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2015-05-18 07:29:22 +0300
commiteddca85b1a9ab451772791d03af1f016e9c4ea0b (patch)
treee0b22bc43814603eeafe3022854211f955076b79 /drivers/crypto/omap-sham.c
parent1beb6b92e06e618d2213240bd5f8946dd89b1e5e (diff)
downloadlinux-eddca85b1a9ab451772791d03af1f016e9c4ea0b.tar.xz
crypto: omap-sham - Add support for omap3 devices
omap3 support is same as omap2, just with different IO address (specified in DT) Signed-off-by: Pali Rohár <pali.rohar@gmail.com> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/omap-sham.c')
-rw-r--r--drivers/crypto/omap-sham.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/crypto/omap-sham.c b/drivers/crypto/omap-sham.c
index a6703204fd86..b2024c95a3cf 100644
--- a/drivers/crypto/omap-sham.c
+++ b/drivers/crypto/omap-sham.c
@@ -1799,6 +1799,10 @@ static const struct of_device_id omap_sham_of_match[] = {
.data = &omap_sham_pdata_omap2,
},
{
+ .compatible = "ti,omap3-sham",
+ .data = &omap_sham_pdata_omap2,
+ },
+ {
.compatible = "ti,omap4-sham",
.data = &omap_sham_pdata_omap4,
},