ARM: mpu: add header for MPU register layouts and region data
authorJonathan Austin <jonathan.austin@arm.com>
Thu, 21 Feb 2013 17:49:24 +0000 (17:49 +0000)
committerJonathan Austin <jonathan.austin@arm.com>
Fri, 7 Jun 2013 16:02:50 +0000 (17:02 +0100)
commita2b45b0da8bbb98cb2f062cf16c6fdebab4243a1
tree696862ca930e5f1b78d2c5d6c12b8da152cf54da
parentaca7e5920c8e80a2a49c1e37664675d78b23398b
ARM: mpu: add header for MPU register layouts and region data

This commit adds definitions relevant to the ARM v7 PMSA compliant MPU.

The register layouts and region configuration data is made accessible to asm
as well as C-code so that it can be used in early bring-up of the MPU.

The mpu region information structs assume that the properties for the I/D side
are the same, though the implementation could be trivially extended for future
platforms where this is no-longer true.

The MPU_*_REGION defines are used for the basic, static MPU region setup.

Signed-off-by: Jonathan Austin <jonathan.austin@arm.com>
Reviewed-by: Will Deacon <will.deacon@arm.com>
arch/arm/include/asm/mpu.h [new file with mode: 0644]