allwinner: Add security setup
Some peripherals are TrustZone aware, so they need to be configured to
be accessible from non-secure world, as we don't need any of them being
exclusive to the secure world.
This affects some clocks, DMA channels and the Secure Peripheral
Controller (SPC). The latter controls access to most devices, but is not
active unless booting with the secure boot fuse burnt.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
1 parent 560581e commit acb8b3cabbb412fac3e48f63bd212b12de632dee
@Andre Przywara Andre Przywara authored on 31 May 2018
Showing 5 changed files
View
plat/allwinner/common/sunxi_bl31_setup.c
View
plat/allwinner/common/sunxi_private.h
View
plat/allwinner/common/sunxi_security.c 0 → 100644
View
plat/allwinner/sun50i_a64/include/sunxi_mmap.h
View
plat/allwinner/sun50i_a64/platform.mk