mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-24 05:54:08 +00:00
fix(arm): use EL3_PAS in MAP_BL2_TOTAL definition
Similarly to BL1 and BL31, use EL3_PAS macro from xlat_tables header (depends on ENABLE_RME) in BL2 to define MAP_BL2_TOTAL. Signed-off-by: Olivier Deprez <olivier.deprez@arm.com> Change-Id: I59a3b297efd2eacd082a297de6b579b7c9052883
This commit is contained in:
parent
b5eb70dee0
commit
875423de49
1 changed files with 1 additions and 8 deletions
|
@ -52,17 +52,10 @@ CASSERT(BL2_BASE >= ARM_FW_CONFIG_LIMIT, assert_bl2_base_overflows);
|
|||
#pragma weak bl2_plat_arch_setup
|
||||
#pragma weak bl2_plat_sec_mem_layout
|
||||
|
||||
#if ENABLE_RME
|
||||
#define MAP_BL2_TOTAL MAP_REGION_FLAT( \
|
||||
bl2_tzram_layout.total_base, \
|
||||
bl2_tzram_layout.total_size, \
|
||||
MT_MEMORY | MT_RW | MT_ROOT)
|
||||
#else
|
||||
#define MAP_BL2_TOTAL MAP_REGION_FLAT( \
|
||||
bl2_tzram_layout.total_base, \
|
||||
bl2_tzram_layout.total_size, \
|
||||
MT_MEMORY | MT_RW | MT_SECURE)
|
||||
#endif /* ENABLE_RME */
|
||||
MT_MEMORY | MT_RW | EL3_PAS)
|
||||
|
||||
#pragma weak arm_bl2_plat_handle_post_image_load
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue