aboutsummaryrefslogtreecommitdiff
path: root/include/plat/common/platform.h
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2021-04-19 17:25:53 +0100
committerAndre Przywara <andre.przywara@arm.com>2021-08-16 17:29:59 +0100
commit5d2793a61aded9602af86e90a571f64ff07f93b3 (patch)
tree2ea78bafbedc7ababb906a3e38657adb9168c389 /include/plat/common/platform.h
parentbe3a51ce18499947b13b847a31552f52359375eb (diff)
downloadarm-trusted-firmware-5d2793a61aded9602af86e90a571f64ff07f93b3.tar.gz
fix(rpi4): drop /memreserve/ region
Most DTBs used on the RaspberryPi contain a FDT /memreserve/ region, that covers the original secondaries' spin table. We need to reserve more memory than described there, to cover the whole of the TF-A image, so we add a /reserved-memory node to the DTB. However having the same memory region described by both methods upsets the Linux kernel and U-Boot, so we have to make sure there is only one instance describing this reserved memory. Keep our currently used /reserved-memory node, since it's more capable (it allows to mark the region as secure memory). Add some code to drop the original /memreserve/ region, since we don't need this anymore, because we take the secondaries out of their original spin loop. We explicitly check for the currently used size of 4KB for this region, to be alerted by any changes to this region in the upstream DTB. Change-Id: Ia3105560deb3f939e026f6ed715a9bbe68b56230 Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'include/plat/common/platform.h')
0 files changed, 0 insertions, 0 deletions