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:
Родитель
07aab762fe
Коммит
528d26f57a
|
@ -1295,7 +1295,8 @@ static int __init omap_sham_mod_init(void)
|
||||||
pr_info("loading %s driver\n", "omap-sham");
|
pr_info("loading %s driver\n", "omap-sham");
|
||||||
|
|
||||||
if (!cpu_class_is_omap2() ||
|
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");
|
pr_err("Unsupported cpu\n");
|
||||||
return -ENODEV;
|
return -ENODEV;
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче