sunxi: Support Secure Memory Touch Arbiter (SMTA) in sun8i H3
authorChen-Yu Tsai <wens@csie.org>
Wed, 6 Jan 2016 07:13:06 +0000 (15:13 +0800)
committerHans de Goede <hdegoede@redhat.com>
Tue, 26 Jan 2016 15:20:04 +0000 (16:20 +0100)
commit5823664fb84612ef511136b66059710cccd71bed
treec88ee3a6feae6e27ad6d0b0497fa4c023c6d159c
parentfe4b71b2373cf0627fbd9d9767fb66059e67eea7
sunxi: Support Secure Memory Touch Arbiter (SMTA) in sun8i H3

Secure Memory Touch Arbiter is the same thing as the TrustZone
Protection Controller found on A31/A31s.

Access to many peripherals on the H3 can be controlled by the SMTA,
and the settings default to secure access only.

This patch supports the new settings, and sets them to allow non-secure
access.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
arch/arm/cpu/armv7/sunxi/Makefile
arch/arm/cpu/armv7/sunxi/board.c
arch/arm/cpu/armv7/sunxi/tzpc.c
arch/arm/include/asm/arch-sunxi/tzpc.h