projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07aab76
)
crypto: omap-sham - enable driver for EMU chips
author
Dmitry Kasatkin
<dmitry.kasatkin@nokia.com>
Wed, 20 Apr 2011 10:34:57 +0000
(13:34 +0300)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Tue, 26 Apr 2011 06:45:36 +0000
(16:45 +1000)
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>
drivers/crypto/omap-sham.c
patch
|
blob
|
history
diff --git
a/drivers/crypto/omap-sham.c
b/drivers/crypto/omap-sham.c
index 50aca41712b5dfd9e24a5eb0a2757a1e0256ea2c..f5c01dc363d4e87638d2bdc37707f12e2087c701 100644
(file)
--- 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;
}