diff options
author | Horia Geantă <horia.geanta@nxp.com> | 2017-07-18 18:30:47 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-08-03 13:47:13 +0800 |
commit | 297b9cebd2fc020f0bd3e0aac68b0758ab84e8d8 (patch) | |
tree | 96d62c45c0716972260998f58d8ecc837be94ed4 /drivers/crypto/caam/ctrl.h | |
parent | e28c190db66830c04b403b7eba7f8a5b53c22ffc (diff) | |
download | linux-297b9cebd2fc020f0bd3e0aac68b0758ab84e8d8.tar.gz |
crypto: caam/jr - add support for DPAA2 parts
Add support for using the caam/jr backend on DPAA2-based SoCs.
These have some particularities we have to account for:
-HW S/G format is different
-Management Complex (MC) firmware initializes / manages (partially)
the CAAM block: MCFGR, QI enablement in QICTL, RNG
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/ctrl.h')
-rw-r--r-- | drivers/crypto/caam/ctrl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/crypto/caam/ctrl.h b/drivers/crypto/caam/ctrl.h index cac5402a46eb..7e7bf68c9ef5 100644 --- a/drivers/crypto/caam/ctrl.h +++ b/drivers/crypto/caam/ctrl.h @@ -10,4 +10,6 @@ /* Prototypes for backend-level services exposed to APIs */ int caam_get_era(void); +extern bool caam_dpaa2; + #endif /* CTRL_H */ |