mem_protect: Add DRAM2 to the list of mem protected ranges
On ARM platforms, the maximum size of the address space is limited
to 32-bits as defined in arm_def.h. In order to access DRAM2, which
is defined beyond the 32-bit address space, the maximum address space
is increased to 36-bits in AArch64. It is possible to increase the
virtual space for AArch32, but it is more difficult and not supported
for now.

NOTE - the actual maximum memory address space is platform dependent
and is checked at run-time by querying the PARange field in the
ID_AA64MMFR0_EL1 register.

Change-Id: I6cb05c78a63b1fed96db9a9773faca04a5b93d67
Signed-off-by: Roberto Vargas <roberto.vargas@arm.com>
1 parent f145403 commit b09ba056c4203a3fcca78675aa3de257023b7d70
@Roberto Vargas Roberto Vargas authored on 8 Aug 2017
Showing 5 changed files
View
include/plat/arm/common/arm_def.h
View
plat/arm/board/common/board_css_common.c
View
plat/arm/board/fvp/fvp_common.c
View
plat/arm/board/juno/include/platform_def.h
View
plat/arm/common/arm_nor_psci_mem_protect.c