summaryrefslogtreecommitdiff
path: root/plat/sun50iw1p1/bl31_sunxi_setup.c
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2016-05-16 02:03:15 +0100
committerAndre Przywara <andre.przywara@arm.com>2016-06-02 01:29:48 +0100
commit7e993f79321991eae05352f857c2ed16fa26196f (patch)
treee4704ef8aa24599e55b2e8b43296738585eb705e /plat/sun50iw1p1/bl31_sunxi_setup.c
parent3fe2fe1e5161bd6707e4f1f392fbd5e17513d4eb (diff)
sun50i: switch RSB and SRAM1 to be secure-only
The default security setup makes all peripherals available to the non-secure world. Set the RSB (which connects to the PMIC, which is exclusively controlled by firmware) and SRAM A1 to be secure-only. This prevents accidental (or malicious) tinkering with the PMIC, which is potentially harmful to the board. NOTE: This does not seem to work as expected, since access is apparently still possile from the non-secure side. Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'plat/sun50iw1p1/bl31_sunxi_setup.c')
0 files changed, 0 insertions, 0 deletions