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:
Dmitry Kasatkin 2011-04-20 13:34:57 +03:00 коммит произвёл Herbert Xu
Родитель 07aab762fe
Коммит 528d26f57a
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -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;
} }