diff options
author | Sandrine Bailleux <sandrine.bailleux@arm.com> | 2016-06-20 10:10:40 +0100 |
---|---|---|
committer | Sandrine Bailleux <sandrine.bailleux@arm.com> | 2016-07-08 14:55:11 +0100 |
commit | b2c96eed562b221f32f56976c7283d0e5e8503d0 (patch) | |
tree | 5878171639d55b8266ecea75faa5f6275bd3d015 | |
parent | af419dd63706ea3f5f280675b8559beec7245ff5 (diff) |
ARM platforms: Include BL2U's RO section in total memory region
This patch changes the base address of the "total" Trusted SRAM region
seen by the BL2U image. It used to start just after BL2U's read-only
section (i.e. at address BL2U_RO_LIMIT), it now starts from the base
address of the BL2U image (i.e. at address BL2U_BASE). In other words,
the "total" memory region now includes BL2U's own read-only section.
This does not change BL2U's resulting memory mappings because the
read-only section was already mapped in BL2U, it just wasn't part of
this total memory region.
Change-Id: I2da16ac842469023b41904eaa8d13ed678d65671
-rw-r--r-- | plat/arm/common/arm_bl2u_setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plat/arm/common/arm_bl2u_setup.c b/plat/arm/common/arm_bl2u_setup.c index 5f2634a2..8185f9f5 100644 --- a/plat/arm/common/arm_bl2u_setup.c +++ b/plat/arm/common/arm_bl2u_setup.c @@ -102,7 +102,7 @@ void bl2u_early_platform_setup(meminfo_t *mem_layout, void *plat_info) ******************************************************************************/ void arm_bl2u_plat_arch_setup(void) { - arm_setup_page_tables(BL2U_RO_LIMIT, + arm_setup_page_tables(BL2U_BASE, BL31_LIMIT, BL2U_RO_BASE, BL2U_RO_LIMIT |