diff options
author | Icenowy Zheng <icenowy@aosc.io> | 2017-07-20 14:00:32 +0800 |
---|---|---|
committer | Jagan Teki <jagan@amarulasolutions.com> | 2017-08-11 15:49:39 +0530 |
commit | e37a1b17e71521ce9385e305a87948d7ca55b4d8 (patch) | |
tree | fcc27028cadd7e52f5fd95242695366784e27645 /board/quipos | |
parent | 39858b12cceed3894cc62d194f098396f4306c0c (diff) |
sunxi: switch PRCM to non-secure on H3/H5 SoCs
The PRCM of H3/H5 SoCs have a secure/non-secure switch, which controls
the access to some clock/power related registers in PRCM.
Current Linux kernel will access the CPUS (AR100) clock in the PRCM
block, so the PRCM should be switched to non-secure.
Add code to switch the PRCM to non-secure.
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Tested-by: Chen-Yu Tsai <wens@csie.org>
Reviewed-by: Jagan Teki <jagan@openedev.com>
Diffstat (limited to 'board/quipos')
0 files changed, 0 insertions, 0 deletions