mirror of https://gitee.com/openkylin/linux.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 <cyrille.pitchen@atmel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
9064ed9269
commit
563c47df79
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue