Commit 563c47df authored by Cyrille Pitchen's avatar Cyrille Pitchen Committed by Herbert Xu

crypto: atmel-sha - add SHA_MR_MODE_IDATAR0

This patch defines an alias macro to SHA_MR_MODE_PDC, which is not suited
for DMA usage.
Signed-off-by: default avatarCyrille Pitchen <cyrille.pitchen@atmel.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 9064ed92
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
#define SHA_MR_MODE_MANUAL 0x0 #define SHA_MR_MODE_MANUAL 0x0
#define SHA_MR_MODE_AUTO 0x1 #define SHA_MR_MODE_AUTO 0x1
#define SHA_MR_MODE_PDC 0x2 #define SHA_MR_MODE_PDC 0x2
#define SHA_MR_MODE_IDATAR0 0x2
#define SHA_MR_PROCDLY (1 << 4) #define SHA_MR_PROCDLY (1 << 4)
#define SHA_MR_UIHV (1 << 5) #define SHA_MR_UIHV (1 << 5)
#define SHA_MR_UIEHV (1 << 6) #define SHA_MR_UIEHV (1 << 6)
......
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