From fb48b97064f8b6332a62d50e22831ccaf6c16db6 Mon Sep 17 00:00:00 2001 From: Soby Mathew Date: Mon, 13 Nov 2017 08:29:45 +0000 Subject: [PATCH] ARM Platforms: Change the TZC access permissions for EL3 payload This patch allows non-secure bus masters to access TZC region0 as well as the EL3 Payload itself. Change-Id: I7e44f2673a2992920d41503fb4c57bd7fb30747a Signed-off-by: Soby Mathew --- plat/arm/common/arm_tzc400.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plat/arm/common/arm_tzc400.c b/plat/arm/common/arm_tzc400.c index 23c031734..cf1332684 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 */