summaryrefslogtreecommitdiff
path: root/drivers/crypto/caam/ctrl.h
diff options
context:
space:
mode:
authorAlex Porosanu <alexandru.porosanu@freescale.com>2012-07-11 03:06:11 (GMT)
committerHerbert Xu <herbert@gondor.apana.org.au>2012-07-11 03:06:11 (GMT)
commit82c2f9607b8a4667e9d89613478748f4e2b7288b (patch)
tree82c0f202ebc2f7639af6dc28fd4fe25725985187 /drivers/crypto/caam/ctrl.h
parent1af8ea862c9a9a6d5dc100850036cc7a641bb242 (diff)
downloadlinux-82c2f9607b8a4667e9d89613478748f4e2b7288b.tar.xz
crypto: caam - ERA retrieval and printing for SEC device
This patch adds support for retrieving and printing of SEC ERA information. It is useful for knowing beforehand what features exist from the SEC point of view on a certain SoC. Only era-s 1 to 4 are currently supported; other eras will appear as unknown. Signed-off-by: Alex Porosanu <alexandru.porosanu@freescale.com> - rebased onto current cryptodev master - made caam_eras static Signed-off-by: Kim Phillips <kim.phillips@freescale.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.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/crypto/caam/ctrl.h b/drivers/crypto/caam/ctrl.h
new file mode 100644
index 0000000..980d44e
--- /dev/null
+++ b/drivers/crypto/caam/ctrl.h
@@ -0,0 +1,13 @@
+/*
+ * CAAM control-plane driver backend public-level include definitions
+ *
+ * Copyright 2012 Freescale Semiconductor, Inc.
+ */
+
+#ifndef CTRL_H
+#define CTRL_H
+
+/* Prototypes for backend-level services exposed to APIs */
+int caam_get_era(u64 caam_id);
+
+#endif /* CTRL_H */