diff options
| author | 2018-04-11 09:45:20 -0300 | |
|---|---|---|
| committer | 2018-04-21 00:58:37 +0800 | |
| commit | 654f2b937b389295581bcb4aa26011a63db7bc8f (patch) | |
| tree | 70d6c4ac40b00e5a33d44b02b07c8807c254b561 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | crypto: caam - staticize caam_get_era() (diff) | |
| download | linux-dev-654f2b937b389295581bcb4aa26011a63db7bc8f.tar.xz linux-dev-654f2b937b389295581bcb4aa26011a63db7bc8f.zip | |
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 <fabio.estevam@nxp.com>
Reviewed-by: Horia Geantă <horia.geanta@nxp.com>
Tested-by: Breno Lima <breno.lima@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
