diff options
author | Mikko Perttunen <[email protected]> | 2019-01-25 11:22:55 +0100 |
---|---|---|
committer | Thierry Reding <[email protected]> | 2019-01-25 16:18:24 +0100 |
commit | e247deae1a55089cb04cc25c91faeba083d0c39c (patch) | |
tree | 2c85583a47f879f93b7751e54fe668fbfb528a31 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | fa3bc04ef8ccccfe47db1f4030a7a43569956402 (diff) |
soc/tegra: pmc: Support systems where PMC is marked secure
On Tegra210 systems with new enough boot software, direct register
accesses to PMC register space from the non-secure world are not
allowed. Instead a monitor call may be used to read and write PMC
registers.
Add code to detect such a system by attempting to write a scratch
register and detecting if the write happened or not. If not, we switch
to doing all register accesses through the monitor call.
Signed-off-by: Mikko Perttunen <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Acked-by: Jon Hunter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions