summaryrefslogtreecommitdiff
path: root/drivers/crypto/omap-sham.c
diff options
context:
space:
mode:
authorDmitry Kasatkin <dmitry.kasatkin@nokia.com>2011-04-20 13:34:57 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2011-04-26 16:45:36 +1000
commit528d26f57acd112fef78cd455db78e69a1ac39fd (patch)
tree045431e71df9c6a30f038682a4da76a295276643 /drivers/crypto/omap-sham.c
parent07aab762feb6b49e8004bfba2659db17f7b64e35 (diff)
downloadlinux-3.10-528d26f57acd112fef78cd455db78e69a1ac39fd.tar.gz
linux-3.10-528d26f57acd112fef78cd455db78e69a1ac39fd.tar.bz2
linux-3.10-528d26f57acd112fef78cd455db78e69a1ac39fd.zip
crypto: omap-sham - enable driver for EMU chips
EMU chips also have crypto HW as HS chips. Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@nokia.com> 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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/crypto/omap-sham.c b/drivers/crypto/omap-sham.c
index 50aca41712b..f5c01dc363d 100644
--- a/drivers/crypto/omap-sham.c
+++ b/drivers/crypto/omap-sham.c
@@ -1295,7 +1295,8 @@ static int __init omap_sham_mod_init(void)
pr_info("loading %s driver\n", "omap-sham");
if (!cpu_class_is_omap2() ||
- omap_type() != OMAP2_DEVICE_TYPE_SEC) {
+ (omap_type() != OMAP2_DEVICE_TYPE_SEC &&
+ omap_type() != OMAP2_DEVICE_TYPE_EMU)) {
pr_err("Unsupported cpu\n");
return -ENODEV;
}