Rework page table setup for varying number of mem regions
Change arm_setup_page_tables() to take a variable number of memory
regions. Remove coherent memory region from BL1, BL2 and BL2U as
their coherent memory region doesn't contain anything and
therefore has a size of 0. Add check to ensure this
doesn't change without us knowing.
Change-Id: I790054e3b20b056dda1043a4a67bd7ac2d6a3bc0
Signed-off-by:
Daniel Boulby <daniel.boulby@arm.com>
Showing
- include/plat/arm/common/arm_def.h 19 additions, 0 deletionsinclude/plat/arm/common/arm_def.h
- include/plat/arm/common/plat_arm.h 2 additions, 11 deletionsinclude/plat/arm/common/plat_arm.h
- include/plat/arm/css/common/css_def.h 8 additions, 0 deletionsinclude/plat/arm/css/common/css_def.h
- plat/arm/board/common/board_css_common.c 2 additions, 0 deletionsplat/arm/board/common/board_css_common.c
- plat/arm/board/juno/include/platform_def.h 1 addition, 1 deletionplat/arm/board/juno/include/platform_def.h
- plat/arm/common/arm_bl1_setup.c 25 additions, 9 deletionsplat/arm/common/arm_bl1_setup.c
- plat/arm/common/arm_bl2_el3_setup.c 19 additions, 9 deletionsplat/arm/common/arm_bl2_el3_setup.c
- plat/arm/common/arm_bl2_setup.c 17 additions, 9 deletionsplat/arm/common/arm_bl2_setup.c
- plat/arm/common/arm_bl2u_setup.c 19 additions, 10 deletionsplat/arm/common/arm_bl2u_setup.c
- plat/arm/common/arm_bl31_setup.c 15 additions, 9 deletionsplat/arm/common/arm_bl31_setup.c
- plat/arm/common/arm_common.c 18 additions, 45 deletionsplat/arm/common/arm_common.c
- plat/arm/common/sp_min/arm_sp_min_setup.c 14 additions, 10 deletionsplat/arm/common/sp_min/arm_sp_min_setup.c
- plat/arm/common/tsp/arm_tsp_setup.c 16 additions, 9 deletionsplat/arm/common/tsp/arm_tsp_setup.c
- plat/ti/k3/common/k3_bl31_setup.c 12 additions, 6 deletionsplat/ti/k3/common/k3_bl31_setup.c
- plat/xilinx/zynqmp/bl31_zynqmp_setup.c 15 additions, 8 deletionsplat/xilinx/zynqmp/bl31_zynqmp_setup.c
- plat/xilinx/zynqmp/tsp/tsp_plat_setup.c 14 additions, 9 deletionsplat/xilinx/zynqmp/tsp/tsp_plat_setup.c
Please register or sign in to comment