Skip to content

Commit a1c9297

Browse files
committed
crypto: atmel: Add support for the SHA IP available on sam9x60
Add version for the SHA 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 fc3f6e4 commit a1c9297

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/crypto/atmel-sha.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2508,6 +2508,8 @@ static void atmel_sha_get_cap(struct atmel_sha_dev *dd)
25082508

25092509
/* keep only major version number */
25102510
switch (dd->hw_version & 0xff0) {
2511+
case 0x600:
2512+
/* fall through */
25112513
case 0x510:
25122514
dd->caps.has_dma = 1;
25132515
dd->caps.has_dualbuff = 1;

0 commit comments

Comments
 (0)