summaryrefslogtreecommitdiff
path: root/drivers/crypto/atmel-tdes-regs.h
diff options
context:
space:
mode:
authorNicolas Royer <nicolas@eukrea.com>2013-02-20 17:10:25 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2013-03-10 16:46:42 +0800
commit1f858040c2f78013fd2b10ddeb9dc157c3362b04 (patch)
treefbfd3f09b6d3881290b8e811ff8b4ed5fe1e25b1 /drivers/crypto/atmel-tdes-regs.h
parentcadc4ab8f6f73719ef0e124320cdd210d1c9ff3e (diff)
crypto: atmel-tdes - add support for latest release of the IP (0x700)
Update from previous IP release (0x600): - add DMA support (previous IP release use PDC) Signed-off-by: Nicolas Royer <nicolas@eukrea.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Acked-by: Eric Bénard <eric@eukrea.com> Tested-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/atmel-tdes-regs.h')
-rw-r--r--drivers/crypto/atmel-tdes-regs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/crypto/atmel-tdes-regs.h b/drivers/crypto/atmel-tdes-regs.h
index 5ac2a900d80c..f86734d0fda4 100644
--- a/drivers/crypto/atmel-tdes-regs.h
+++ b/drivers/crypto/atmel-tdes-regs.h
@@ -69,6 +69,8 @@
#define TDES_XTEARNDR_XTEA_RNDS_MASK (0x3F << 0)
#define TDES_XTEARNDR_XTEA_RNDS_OFFSET 0
+#define TDES_HW_VERSION 0xFC
+
#define TDES_RPR 0x100
#define TDES_RCR 0x104
#define TDES_TPR 0x108