Browse Source

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>
pull/1310/head
Joel Hutton 7 years ago
committed by Joel Hutton
parent
commit
950c69563f
  1. 1
      plat/arm/board/fvp/fvp_common.c

1
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[] = { const mmap_region_t plat_arm_mmap[] = {
#ifdef AARCH32 #ifdef AARCH32
ARM_MAP_SHARED_RAM, ARM_MAP_SHARED_RAM,
ARM_V2M_MAP_MEM_PROTECT,
#endif #endif
V2M_MAP_IOFPGA, V2M_MAP_IOFPGA,
MAP_DEVICE0, MAP_DEVICE0,

Loading…
Cancel
Save