crypto: caam - ERA retrieval and printing for SEC device
authorAlex Porosanu <alexandru.porosanu@freescale.com>
Wed, 11 Jul 2012 03:06:11 +0000 (11:06 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 11 Jul 2012 03:06:11 +0000 (11:06 +0800)
commit82c2f9607b8a4667e9d89613478748f4e2b7288b
tree82c0f202ebc2f7639af6dc28fd4fe25725985187
parent1af8ea862c9a9a6d5dc100850036cc7a641bb242
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>
drivers/crypto/caam/ctrl.c
drivers/crypto/caam/ctrl.h [new file with mode: 0644]
drivers/crypto/caam/regs.h