summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorPeter Hoyes <Peter.Hoyes@arm.com>2021-08-19 16:53:11 +0100
committerTom Rini <trini@konsulko.com>2021-09-02 10:17:45 -0400
commit2f5b7b74903f747581aa4d63f492da7cc77377bf (patch)
tree655e7218f1bde62ee649a79b26811de7f919b11c /configs
parent37a757e227ccfc7d9eef82ab38f8500a832ea01b (diff)
downloadu-boot-2f5b7b74903f747581aa4d63f492da7cc77377bf.tar.gz
u-boot-2f5b7b74903f747581aa4d63f492da7cc77377bf.tar.bz2
u-boot-2f5b7b74903f747581aa4d63f492da7cc77377bf.zip
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')
0 files changed, 0 insertions, 0 deletions