aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrei Varvara <andrei.varvara@freescale.com>2013-05-28 15:37:08 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2013-05-28 15:37:08 +0800
commit91dc363a86142afcbc4e9c3ab31b0f4563b0f269 (patch)
tree3fe1df720bec7b393509203452248e69755fbc99
parentda64e35810e0717ec63ca25a46118f48e320caff (diff)
downloadkernel_goldelico_gta04-91dc363a86142afcbc4e9c3ab31b0f4563b0f269.zip
kernel_goldelico_gta04-91dc363a86142afcbc4e9c3ab31b0f4563b0f269.tar.gz
kernel_goldelico_gta04-91dc363a86142afcbc4e9c3ab31b0f4563b0f269.tar.bz2
crypto: caam - add missing flag for the LOAD/STORE commands
Add Class Context SRC / DEST flags for the LOAD & STORE commands 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>
-rw-r--r--drivers/crypto/caam/desc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/crypto/caam/desc.h b/drivers/crypto/caam/desc.h
index 8214dc1..53b296f 100644
--- a/drivers/crypto/caam/desc.h
+++ b/drivers/crypto/caam/desc.h
@@ -231,6 +231,7 @@ struct sec4_sg_entry {
#define LDST_SRCDST_WORD_PKHA_B_SZ (0x11 << LDST_SRCDST_SHIFT)
#define LDST_SRCDST_WORD_PKHA_N_SZ (0x12 << LDST_SRCDST_SHIFT)
#define LDST_SRCDST_WORD_PKHA_E_SZ (0x13 << LDST_SRCDST_SHIFT)
+#define LDST_SRCDST_WORD_CLASS_CTX (0x20 << LDST_SRCDST_SHIFT)
#define LDST_SRCDST_WORD_DESCBUF (0x40 << LDST_SRCDST_SHIFT)
#define LDST_SRCDST_WORD_DESCBUF_JOB (0x41 << LDST_SRCDST_SHIFT)
#define LDST_SRCDST_WORD_DESCBUF_SHARED (0x42 << LDST_SRCDST_SHIFT)