diff options
author | Kavyasree Kotagiri <kavyasree.kotagiri@microchip.com> | 2022-01-28 08:17:55 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2022-02-05 05:10:51 +0100 |
commit | 16d20a08f15ee6ad9a4c1e17ede613927d1c553e (patch) | |
tree | 2707f0771b70dca12cee30994bc0feb12f1a8aac /drivers/crypto/atmel-sha.c | |
parent | hwrng: core - credit entropy for low quality sources of randomness (diff) | |
download | linux-16d20a08f15ee6ad9a4c1e17ede613927d1c553e.tar.xz linux-16d20a08f15ee6ad9a4c1e17ede613927d1c553e.zip |
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-sha.c')
-rw-r--r-- | drivers/crypto/atmel-sha.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/crypto/atmel-sha.c b/drivers/crypto/atmel-sha.c index 1b13f601fd95..d1628112dacc 100644 --- a/drivers/crypto/atmel-sha.c +++ b/drivers/crypto/atmel-sha.c @@ -2508,6 +2508,7 @@ static void atmel_sha_get_cap(struct atmel_sha_dev *dd) /* keep only major version number */ switch (dd->hw_version & 0xff0) { + case 0x700: case 0x510: dd->caps.has_dma = 1; dd->caps.has_dualbuff = 1; |