Searched hist:"882 c0ff6ba65800046a851735cc848b76810196a" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_ARM-atf/plat/rpi/rpi4/include/ |
| H A D | platform_def.h | 882c0ff6ba65800046a851735cc848b76810196a Mon Jul 15 08:04:27 UTC 2019 Andre Przywara <andre.przywara@arm.com> rpi4: Cleanup memory regions, move pens to first page
Now that we have the SMP pens in the first page of DRAM, we can get rid of all the fancy RPi3 memory regions that our RPi4 port does not really need. This avoids using up memory all over the place, restricting ATF to just run in the first 512KB of DRAM.
Remove the now unused regions. This also moves the SMP pens into our first memory page (holding the firmware magic), where the original firmware put them, but where there is also enough space for them.
Since the pens will require code execution privileges, we amend the memory attributes used for that page to include write and execution rights.
Change-Id: I131633abeb4a4d7b9057e737b9b0d163b73e47c6 Signed-off-by: Andre Przywara <andre.przywara@arm.com>
|