mirror of
https://github.com/torvalds/linux.git
synced 2024-11-08 13:11:45 +00:00
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>
This commit is contained in:
parent
07aab762fe
commit
528d26f57a
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user