]> git.sur5r.net Git - u-boot/commit
arm: v7R: Add support for MPU
authorLokesh Vutla <lokeshvutla@ti.com>
Thu, 26 Apr 2018 12:51:30 +0000 (18:21 +0530)
committerTom Rini <trini@konsulko.com>
Mon, 7 May 2018 19:53:29 +0000 (15:53 -0400)
commitf2ef204312480bfba7700f47c8ce9fb975c26557
tree3fd338e772be2cbec3c1a6b4a847d7d6ae673eae
parent4bbd6b1d946ab6165bff8aeae6f252faa07ce85a
arm: v7R: Add support for MPU

The Memory Protection Unit(MPU) allows to partition memory into regions
and set individual protection attributes for each region. In absence
of MPU a default map[1] will take effect. Add support for configuring
MPU on Cortex-R, by reusing the existing support for Cortex-M processor.

[1] http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0460d/I1002400.html

Tested-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/arm/Kconfig
arch/arm/cpu/armv7/Makefile
arch/arm/cpu/armv7/mpu_v7r.c [new file with mode: 0644]
arch/arm/cpu/armv7m/Makefile
arch/arm/cpu/armv7m/mpu.c
arch/arm/include/asm/armv7_mpu.h [new file with mode: 0644]
arch/arm/include/asm/armv7m_mpu.h [deleted file]
arch/arm/mach-stm32/soc.c