Merge tag 'mmu-next-14032025' of https://source.denx.de/u-boot/custodians/u-boot...
authorTom Rini <trini@konsulko.com>
Fri, 14 Mar 2025 15:31:36 +0000 (09:31 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 14 Mar 2025 15:31:36 +0000 (09:31 -0600)
commit973c366ce68d9a99e16bcbce3941a1c52492c097
tree4551686cc38c7e419c833ebfeaf6bd6843124691
parentbbfabe290138d76e78e0dac28fec93c32e3964eb
parentfb553201b67aededdc794f3a0880e386771cbd58
Merge tag 'mmu-next-14032025' of https://source.denx.de/u-boot/custodians/u-boot-tpm into next

Up to now we configure the entire memory space for U-Boot as RWX.
For modern architectures and security requirements, it's better to
map the memory properly.
This pull request adds basics support for mapping the U-Boot binary with
proper (RO, RW, RW^X) memory permissions on aarch64 right after we
relocate U-Boot in the top of DRAM.
It's worrth noting that the linker script annotations are only added for
the aarch64 architecture. We can, in the future, try to unify the linker --
at least for the architectures that have enough in common and expand this