]> git.baikalelectronics.ru Git - kernel.git/commitdiff
crypto: atmel-sha - add SHA_MR_MODE_IDATAR0
authorCyrille Pitchen <cyrille.pitchen@atmel.com>
Thu, 26 Jan 2017 16:07:51 +0000 (17:07 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 3 Feb 2017 10:16:13 +0000 (18:16 +0800)
This patch defines an alias macro to SHA_MR_MODE_PDC, which is not suited
for DMA usage.

Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/atmel-sha-regs.h

index deb0b0b150960192812c4842ac039d0e63c71ca1..8d62d31eda0899d649229dc6cea1e82cbe38fb4e 100644 (file)
@@ -16,6 +16,7 @@
 #define SHA_MR_MODE_MANUAL             0x0
 #define SHA_MR_MODE_AUTO               0x1
 #define SHA_MR_MODE_PDC                        0x2
+#define SHA_MR_MODE_IDATAR0            0x2
 #define SHA_MR_PROCDLY                 (1 << 4)
 #define SHA_MR_UIHV                    (1 << 5)
 #define SHA_MR_UIEHV                   (1 << 6)