From f2ef204312480bfba7700f47c8ce9fb975c26557 Mon Sep 17 00:00:00 2001 From: Lokesh Vutla Date: Thu, 26 Apr 2018 18:21:30 +0530 Subject: 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 Signed-off-by: Lokesh Vutla Reviewed-by: Tom Rini --- arch/arm/mach-stm32/soc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/arm/mach-stm32') diff --git a/arch/arm/mach-stm32/soc.c b/arch/arm/mach-stm32/soc.c index 02592684b9..2b52854530 100644 --- a/arch/arm/mach-stm32/soc.c +++ b/arch/arm/mach-stm32/soc.c @@ -6,7 +6,7 @@ #include #include -#include +#include int arch_cpu_init(void) { -- cgit v1.2.3