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 18:19:46 +0800 |
commit | 973e209d743e22e9d514cd3378281608845456f6 (patch) | |
tree | 5379f87d13c788a31feb8da3f212947c6b3e620d | |
parent | dc2c632272d5614b77359b24f77c0a80ddc3a962 (diff) | |
download | op-kernel-dev-973e209d743e22e9d514cd3378281608845456f6.zip op-kernel-dev-973e209d743e22e9d514cd3378281608845456f6.tar.gz |
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 bfb1f79..854e281 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; |