summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/caam/desc.h
diff options
context:
space:
mode:
authorAndrei Varvara <andrei.varvara@freescale.com>2013-05-28 09:37:05 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2013-05-28 09:37:05 +0200
commite2d4ea9444024e38217e4b7e380c6b9f39f9a5f2 (patch)
tree8a9f6eefa6e23b361b1806bc732c285c2bbbf379 /drivers/crypto/caam/desc.h
parentcrypto: sahara - remove dependency on EXPERIMENTAL (diff)
downloadlinux-e2d4ea9444024e38217e4b7e380c6b9f39f9a5f2.tar.xz
linux-e2d4ea9444024e38217e4b7e380c6b9f39f9a5f2.zip
crypto: caam - fix SEQ IN PTR command when RTO or PRE bit is set
SEQ IN PTR command does not require pointer if RTO or PRE bit is set Updated desc_constr.h accordingly. Signed-off-by: Andrei Varvara <andrei.varvara@freescale.com> Reviewed-by: Phillips Kim-R1AAHA <Kim.Phillips@freescale.com> Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/caam/desc.h')
-rw-r--r--drivers/crypto/caam/desc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/crypto/caam/desc.h b/drivers/crypto/caam/desc.h
index f7f833be8c67..89fa3d045612 100644
--- a/drivers/crypto/caam/desc.h
+++ b/drivers/crypto/caam/desc.h
@@ -1294,10 +1294,10 @@ struct sec4_sg_entry {
#define SQOUT_SGF 0x01000000
/* Appends to a previous pointer */
-#define SQOUT_PRE 0x00800000
+#define SQOUT_PRE SQIN_PRE
/* Restore sequence with pointer/length */
-#define SQOUT_RTO 0x00200000
+#define SQOUT_RTO SQIN_RTO
/* Use extended length following pointer */
#define SQOUT_EXT 0x00400000