summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/caam/intern.h
diff options
context:
space:
mode:
authorHoria Geantă <horia.geanta@nxp.com>2017-12-19 12:16:06 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2017-12-28 17:56:47 +1100
commit9fe712df08ea805868789bb6800f2226f5fd5285 (patch)
tree84f85df2590a3e1c3cd8cf1fd90dd790efa89c80 /drivers/crypto/caam/intern.h
parent662f70ede5975ce68a1c3524c9fa080c44a38b44 (diff)
downloadop-kernel-dev-9fe712df08ea805868789bb6800f2226f5fd5285.zip
op-kernel-dev-9fe712df08ea805868789bb6800f2226f5fd5285.tar.gz
crypto: caam - save Era in driver's private data
Save Era in driver's private data for further usage, like deciding whether an erratum applies or a feature is available based on its value. Signed-off-by: Horia Geantă <horia.geanta@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/caam/intern.h')
-rw-r--r--drivers/crypto/caam/intern.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/crypto/caam/intern.h b/drivers/crypto/caam/intern.h
index 91f1107..7696a77 100644
--- a/drivers/crypto/caam/intern.h
+++ b/drivers/crypto/caam/intern.h
@@ -84,6 +84,7 @@ struct caam_drv_private {
u8 qi_present; /* Nonzero if QI present in device */
int secvio_irq; /* Security violation interrupt number */
int virt_en; /* Virtualization enabled in CAAM */
+ int era; /* CAAM Era (internal HW revision) */
#define RNG4_MAX_HANDLES 2
/* RNG4 block */
OpenPOWER on IntegriCloud