diff options
author | Cyrille Pitchen <cyrille.pitchen@atmel.com> | 2017-01-26 17:07:51 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-02-03 18:16:13 +0800 |
commit | 563c47df79747412bf5d0fdb8fd24089d7316c2b (patch) | |
tree | fb3c2cf99b729189ca2ca42bef08d0247b23a482 /drivers/crypto/atmel-sha-regs.h | |
parent | 9064ed92695b4d9d20e4d5d72fe72465eaa1c162 (diff) | |
download | op-kernel-dev-563c47df79747412bf5d0fdb8fd24089d7316c2b.zip op-kernel-dev-563c47df79747412bf5d0fdb8fd24089d7316c2b.tar.gz |
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: Cyrille Pitchen <cyrille.pitchen@atmel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/atmel-sha-regs.h')
-rw-r--r-- | drivers/crypto/atmel-sha-regs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/crypto/atmel-sha-regs.h b/drivers/crypto/atmel-sha-regs.h index deb0b0b..8d62d31 100644 --- a/drivers/crypto/atmel-sha-regs.h +++ b/drivers/crypto/atmel-sha-regs.h @@ -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) |