From 950c69563f9f47a1d1e1a9a98efbcd3d536486b9 Mon Sep 17 00:00:00 2001 From: Joel Hutton Date: Thu, 15 Mar 2018 11:33:44 +0000 Subject: [PATCH] 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 --- plat/arm/board/fvp/fvp_common.c | 1 + 1 file changed, 1 insertion(+) diff --git a/plat/arm/board/fvp/fvp_common.c b/plat/arm/board/fvp/fvp_common.c index 2df11d653..af258b060 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,