Skip to content

Commit fc3f6e4

Browse files
committed
crypto: atmel: Add support for the AES IP available on sam9x60
Add version for the AES IP available on the sam9x60 SoC. Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com> [ta: ported from 4.19 to 5.4] Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com> [ta: cherry picked to v5.10] Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
1 parent 143e7cd commit fc3f6e4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/crypto/atmel-aes.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2445,6 +2445,8 @@ static void atmel_aes_get_cap(struct atmel_aes_dev *dd)
24452445

24462446
/* keep only major version number */
24472447
switch (dd->hw_version & 0xff0) {
2448+
case 0x600:
2449+
/* fall through */
24482450
case 0x500:
24492451
dd->caps.has_dualbuff = 1;
24502452
dd->caps.has_cfb64 = 1;

0 commit comments

Comments
 (0)