mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-19 11:04:20 +00:00
fix(qemu): exclude GPT reserve from BL32_MEM_SIZE
BL32_MEM_SIZE fails to take into account the space reserved for L0 and
L1 GPTs at the end of secure DRAM, when ENABLE_RME==1.
Fixes: cd75693f5e
("feat(qemu): setup memory map for RME")
Change-Id: If374b491d82be93c195cf501a9d12b9965d85182
Signed-off-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
This commit is contained in:
parent
147b1a6f06
commit
7604288577
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@
|
|||
# define BL32_LIMIT (BL32_SRAM_LIMIT - FW_HANDOFF_SIZE)
|
||||
#elif BL32_RAM_LOCATION_ID == SEC_DRAM_ID
|
||||
# define BL32_MEM_BASE SEC_DRAM_BASE
|
||||
# define BL32_MEM_SIZE SEC_DRAM_SIZE
|
||||
# define BL32_MEM_SIZE (SEC_DRAM_SIZE - RME_GPT_DRAM_SIZE)
|
||||
# define BL32_BASE BL32_DRAM_BASE
|
||||
# define BL32_LIMIT (BL32_DRAM_LIMIT - FW_HANDOFF_SIZE)
|
||||
#else
|
||||
|
|
Loading…
Add table
Reference in a new issue