diff options
author | Leilei Zhao <leilei.zhao@atmel.com> | 2015-12-17 17:48:32 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-12-23 11:19:46 +0100 |
commit | 973e209d743e22e9d514cd3378281608845456f6 (patch) | |
tree | 5379f87d13c788a31feb8da3f212947c6b3e620d | |
parent | crypto: qat - use list_for_each_entry* (diff) | |
download | linux-973e209d743e22e9d514cd3378281608845456f6.tar.xz linux-973e209d743e22e9d514cd3378281608845456f6.zip |
crypto: atmel-aes - add new version
Add new version of atmel-aes available with SAMA5D2 devices.
Signed-off-by: Leilei Zhao <leilei.zhao@atmel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r-- | drivers/crypto/atmel-aes.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/crypto/atmel-aes.c b/drivers/crypto/atmel-aes.c index bfb1f799bf56..854e2813b2bb 100644 --- a/drivers/crypto/atmel-aes.c +++ b/drivers/crypto/atmel-aes.c @@ -1258,6 +1258,11 @@ static void atmel_aes_get_cap(struct atmel_aes_dev *dd) /* keep only major version number */ switch (dd->hw_version & 0xff0) { + case 0x500: + dd->caps.has_dualbuff = 1; + dd->caps.has_cfb64 = 1; + dd->caps.max_burst_size = 4; + break; case 0x200: dd->caps.has_dualbuff = 1; dd->caps.has_cfb64 = 1; |