summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Hutton <Joel.Hutton@Arm.com>2018-03-15 11:33:44 +0000
committerJoel Hutton <joel.hutton@arm.com>2018-03-15 11:45:37 +0000
commit950c69563f9f47a1d1e1a9a98efbcd3d536486b9 (patch)
treec3bcb4da4aaf60d7e2320ba2d523060f7eb502b0
parent16b05e94a2d1757cbb98de068c662d58a6919613 (diff)
FVP AArch32: Fix flash access in BL32 for mem_protect
The FVP platform port for SP_MIN (BL32) didn't map the flash memory in BL32 for stroring the mem_protect enable state information leading to synchronous exception. The patch fixes it by adding the region to the BL32 mmap tables. Change-Id: I37eec83c3e1ea43d1b5504d3683eebc32a57eadf Signed-off-by: Joel Hutton <Joel.Hutton@Arm.com>
-rw-r--r--plat/arm/board/fvp/fvp_common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plat/arm/board/fvp/fvp_common.c b/plat/arm/board/fvp/fvp_common.c
index 2df11d65..af258b06 100644
--- a/plat/arm/board/fvp/fvp_common.c
+++ b/plat/arm/board/fvp/fvp_common.c
@@ -145,6 +145,7 @@ const mmap_region_t plat_arm_secure_partition_mmap[] = {
const mmap_region_t plat_arm_mmap[] = {
#ifdef AARCH32
ARM_MAP_SHARED_RAM,
+ ARM_V2M_MAP_MEM_PROTECT,
#endif
V2M_MAP_IOFPGA,
MAP_DEVICE0,