summaryrefslogtreecommitdiff
path: root/plat
diff options
context:
space:
mode:
authordavidcunado-arm <david.cunado@arm.com>2017-12-09 10:13:11 +0000
committerGitHub <noreply@github.com>2017-12-09 10:13:11 +0000
commitc9ff97e2eb1f96922ef5f9ecb7ec213e603081eb (patch)
tree32e1ae049d12f1fab594f84385382368369f0386 /plat
parentfdaf2905249f5c754dfb07cd928bee753c65f00d (diff)
parentfb48b97064f8b6332a62d50e22831ccaf6c16db6 (diff)
Merge pull request #1181 from soby-mathew/sm/el3_payload_tzc_permissions
ARM Platforms: Change the TZC access permissions for EL3 payload
Diffstat (limited to 'plat')
-rw-r--r--plat/arm/common/arm_tzc400.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plat/arm/common/arm_tzc400.c b/plat/arm/common/arm_tzc400.c
index 23c03173..cf133268 100644
--- a/plat/arm/common/arm_tzc400.c
+++ b/plat/arm/common/arm_tzc400.c
@@ -74,8 +74,8 @@ void arm_tzc400_setup(void)
#else /* if defined(EL3_PAYLOAD_BASE) */
- /* Allow secure access only to DRAM for EL3 payloads. */
- tzc400_configure_region0(TZC_REGION_S_RDWR, 0);
+ /* Allow Secure and Non-secure access to DRAM for EL3 payloads */
+ tzc400_configure_region0(TZC_REGION_S_RDWR, PLAT_ARM_TZC_NS_DEV_ACCESS);
#endif /* EL3_PAYLOAD_BASE */