Introduce arm_setup_page_tables() function
This patch introduces the arm_setup_page_tables() function to
set up page tables on ARM platforms. It replaces the
arm_configure_mmu_elx() functions and does the same thing except
that it doesn't enable the MMU at the end. The idea is to reduce
the amount of per-EL code that is generated by the C preprocessor
by splitting the memory regions definitions and page tables creation
(which is generic) from the MMU enablement (which is the only per-EL
configuration).

As a consequence, the call to the enable_mmu_elx() function has been
moved up into the plat_arch_setup() hook. Any other ARM standard
platforms that use the functions `arm_configure_mmu_elx()` must be
updated.

Change-Id: I6f12a20ce4e5187b3849a8574aac841a136de83d
1 parent 6f511c4 commit b5fa6563e68b909dc5a364163dd745a9427eb9f4
@Sandrine Bailleux Sandrine Bailleux authored on 18 May 2016
Showing 11 changed files
View
include/plat/arm/common/plat_arm.h
View
plat/arm/board/common/board_css_common.c
View
plat/arm/board/fvp/fvp_common.c
View
plat/arm/common/aarch64/arm_common.c
View
plat/arm/common/arm_bl1_setup.c
View
plat/arm/common/arm_bl2_setup.c
View
plat/arm/common/arm_bl2u_setup.c
View
plat/arm/common/arm_bl31_setup.c
View
plat/arm/common/tsp/arm_tsp_setup.c
View
plat/xilinx/zynqmp/bl31_zynqmp_setup.c
View
plat/xilinx/zynqmp/tsp/tsp_plat_setup.c