diff options
| author | Fabio Estevam <[email protected]> | 2018-04-11 09:45:20 -0300 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2018-04-21 00:58:37 +0800 |
| commit | 654f2b937b389295581bcb4aa26011a63db7bc8f (patch) | |
| tree | 70d6c4ac40b00e5a33d44b02b07c8807c254b561 /tools/perf/scripts/python | |
| parent | b0039c00fbbbc3cb9c4b25852d81a2b4c193371d (diff) | |
crypto: caam - allow retrieving 'era' from register
The 'era' information can be retrieved from CAAM registers, so
introduce a caam_get_era_from_hw() function that gets it via register
reads in case the 'fsl,sec-era' property is not passed in the device
tree.
This function is based on the U-Boot implementation from
drivers/crypto/fsl/sec.c
Signed-off-by: Fabio Estevam <[email protected]>
Reviewed-by: Horia Geantă <[email protected]>
Tested-by: Breno Lima <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions