summaryrefslogtreecommitdiff
path: root/include/plat/common
diff options
context:
space:
mode:
authorSandrine Bailleux <sandrine.bailleux@arm.com>2014-06-13 14:48:18 +0100
committerSandrine Bailleux <sandrine.bailleux@arm.com>2014-07-01 10:59:43 +0100
commit6063379902302dfcdfa9b8978b8a0dce44bd78f7 (patch)
treec40da148d2e08eb592e6cb072489bcb5af42919e /include/plat/common
parent8f55dfb4ba1a7c2cb5af355ff614923b6000864d (diff)
fvp: Properly detect the location of BL1 R/W data
There was already a rudimentary mechanism to detect whether BL1 R/W data was loaded at the top or bottom of memory. Basically, - either BL1 was loaded at the very end of the trusted RAM - in all other cases BL1 was considered sitting at the bottom of the memory and the memory usage structure was updated accordingly, potentially resulting in critical memory waste. For instance, if BL1 R/W base address was set to (TZRAM_END - 4096 - bl1_size), it would virtually occupy the whole memory. This patch improves the mechanism to detect the location of BL1 to avoid such scenarios. Change-Id: I224a9edf0fe8d34208545d84b28b63f2bb830d03
Diffstat (limited to 'include/plat/common')
0 files changed, 0 insertions, 0 deletions