diff options
author | Lokesh Vutla <lokeshvutla@ti.com> | 2018-04-26 18:21:30 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-05-07 15:53:29 -0400 |
commit | f2ef204312480bfba7700f47c8ce9fb975c26557 (patch) | |
tree | 3fd338e772be2cbec3c1a6b4a847d7d6ae673eae /arch/arm/mach-stm32/soc.c | |
parent | 4bbd6b1d946ab6165bff8aeae6f252faa07ce85a (diff) | |
download | u-boot-f2ef204312480bfba7700f47c8ce9fb975c26557.zip u-boot-f2ef204312480bfba7700f47c8ce9fb975c26557.tar.gz u-boot-f2ef204312480bfba7700f47c8ce9fb975c26557.tar.bz2 |
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>
Diffstat (limited to 'arch/arm/mach-stm32/soc.c')
-rw-r--r-- | arch/arm/mach-stm32/soc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-stm32/soc.c b/arch/arm/mach-stm32/soc.c index 0259268..2b52854 100644 --- a/arch/arm/mach-stm32/soc.c +++ b/arch/arm/mach-stm32/soc.c @@ -6,7 +6,7 @@ #include <common.h> #include <asm/io.h> -#include <asm/armv7m_mpu.h> +#include <asm/armv7_mpu.h> int arch_cpu_init(void) { |