mirror of
https://github.com/torvalds/linux.git
synced 2024-11-18 18:11:56 +00:00
82c2f9607b
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>
14 lines
272 B
C
14 lines
272 B
C
/*
|
|
* 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 */
|