summaryrefslogtreecommitdiff
path: root/drivers/crypto/atmel-aes.c
diff options
context:
space:
mode:
authorKavyasree Kotagiri <kavyasree.kotagiri@microchip.com>2022-01-28 10:17:55 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2022-02-05 07:10:51 +0300
commit16d20a08f15ee6ad9a4c1e17ede613927d1c553e (patch)
tree2707f0771b70dca12cee30994bc0feb12f1a8aac /drivers/crypto/atmel-aes.c
parenta43bed8220f26178f0f63bf4c0fc23b7b8b76763 (diff)
downloadlinux-16d20a08f15ee6ad9a4c1e17ede613927d1c553e.tar.xz
crypto: atmel - add support for AES and SHA IPs available on lan966x SoC
This patch adds support for hardware version of AES and SHA IPs available on lan966x SoC. Signed-off-by: Kavyasree Kotagiri <kavyasree.kotagiri@microchip.com> Reviewed-by: Tudor Ambarus <tudor.ambarus@microchip.com> Tested-by: Tudor Ambarus <tudor.ambarus@microchip.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/atmel-aes.c')
-rw-r--r--drivers/crypto/atmel-aes.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/crypto/atmel-aes.c b/drivers/crypto/atmel-aes.c
index fe0558403191..f72c6b3e4ad8 100644
--- a/drivers/crypto/atmel-aes.c
+++ b/drivers/crypto/atmel-aes.c
@@ -2509,6 +2509,7 @@ static void atmel_aes_get_cap(struct atmel_aes_dev *dd)
/* keep only major version number */
switch (dd->hw_version & 0xff0) {
+ case 0x700:
case 0x500:
dd->caps.has_dualbuff = 1;
dd->caps.has_cfb64 = 1;