MLK-9769-10 Add Blob command bitdefs.

Add bit definitions for Blob protocol protinfo field.

Signed-off-by: Steve Cornelius <steve.cornelius@freescale.com>
Signed-off-by: Dan Douglass <dan.douglass@freescale.com>
Signed-off-by: Vipul Kumar <vipul_kumar@mentor.com>
This commit is contained in:
Steve Cornelius 2012-10-19 14:37:12 -07:00 committed by Leonard Crestez
parent 9512280d06
commit a9dc44de81

View File

@ -1131,6 +1131,23 @@
#define OP_PCL_PKPROT_ECC 0x0002
#define OP_PCL_PKPROT_F2M 0x0001
/* Blob protocol protinfo bits */
#define OP_PCL_BLOB_TK 0x0200
#define OP_PCL_BLOB_EKT 0x0100
#define OP_PCL_BLOB_K2KR_MEM 0x0000
#define OP_PCL_BLOB_K2KR_C1KR 0x0010
#define OP_PCL_BLOB_K2KR_C2KR 0x0030
#define OP_PCL_BLOB_K2KR_AFHAS 0x0050
#define OP_PCL_BLOB_K2KR_C2KR_SPLIT 0x0070
#define OP_PCL_BLOB_PTXT_SECMEM 0x0008
#define OP_PCL_BLOB_BLACK 0x0004
#define OP_PCL_BLOB_FMT_NORMAL 0x0000
#define OP_PCL_BLOB_FMT_MSTR 0x0002
#define OP_PCL_BLOB_FMT_TEST 0x0003
/* For non-protocol/alg-only op commands */
#define OP_ALG_TYPE_SHIFT 24
#define OP_ALG_TYPE_MASK (0x7 << OP_ALG_TYPE_SHIFT)