diff options
author | Peter Hoyes <Peter.Hoyes@arm.com> | 2021-08-19 16:53:11 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-09-02 20:46:41 -0400 |
commit | e56173010ff75d7e97102b1583371ed699100f12 (patch) | |
tree | 19627654a8fdd09ed84e485696f9b73e46bddd44 /configs/P1021RDB-PC_36BIT_SPIFLASH_defconfig | |
parent | b9356d5360fa5dbefc86ce4d94798b0ba1ba61a3 (diff) | |
download | u-boot-e56173010ff75d7e97102b1583371ed699100f12.tar.gz |
armv8: Add ARMv8 MPU configuration logic
Armv8r64 is the first Armv8 platform that only has a PMSA at the
current exception level. The architecture supplement for Armv8r64
describes new fields in ID_AA64MMFR0_EL1 which can be used to detect
whether a VMSA or PMSA is present. These fields are RES0 on Armv8a.
Add logic to read these fields and, for the protection of the memory
used by U-Boot, initialize the MPU instead of the MMU during init, then
clear the MPU regions before transition to the next stage.
Provide a default (blank) MPU memory map, which can be overridden by
board configurations.
Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com>
Diffstat (limited to 'configs/P1021RDB-PC_36BIT_SPIFLASH_defconfig')
0 files changed, 0 insertions, 0 deletions