diff options
author | Andrei Varvara <andrei.varvara@freescale.com> | 2013-05-28 11:37:05 +0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2013-05-28 11:37:05 +0400 |
commit | e2d4ea9444024e38217e4b7e380c6b9f39f9a5f2 (patch) | |
tree | 8a9f6eefa6e23b361b1806bc732c285c2bbbf379 /drivers/crypto/caam/desc.h | |
parent | 74d24d838be0ee64c1085558238e5c51e1659817 (diff) | |
download | linux-e2d4ea9444024e38217e4b7e380c6b9f39f9a5f2.tar.xz |
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.h | 4 |
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 |