From: Cyrille Pitchen Date: Thu, 26 Jan 2017 16:07:51 +0000 (+0100) Subject: crypto: atmel-sha - add SHA_MR_MODE_IDATAR0 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=563c47df79747412bf5d0fdb8fd24089d7316c2b;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Herbert Xu --- diff --git a/drivers/crypto/atmel-sha-regs.h b/drivers/crypto/atmel-sha-regs.h index deb0b0b15096..8d62d31eda08 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)