Commit e8bf24bd authored by Tudor Ambarus's avatar Tudor Ambarus Committed by Herbert Xu

crypto: atmel-tdes - Add support for the TDES IP available on sama7g5 SoC

Add support for the TDES IP found on sama7g5.
Signed-off-by: default avatarTudor Ambarus <tudor.ambarus@microchip.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 37f36e57
...@@ -1130,6 +1130,7 @@ static void atmel_tdes_get_cap(struct atmel_tdes_dev *dd) ...@@ -1130,6 +1130,7 @@ static void atmel_tdes_get_cap(struct atmel_tdes_dev *dd)
/* keep only major version number */ /* keep only major version number */
switch (dd->hw_version & 0xf00) { switch (dd->hw_version & 0xf00) {
case 0x800:
case 0x700: case 0x700:
dd->caps.has_dma = 1; dd->caps.has_dma = 1;
dd->caps.has_cfb_3keys = 1; dd->caps.has_cfb_3keys = 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment