From: Lokesh Vutla Date: Thu, 26 Apr 2018 13:34:47 +0530 Subject: [U-Boot] [PATCH 6/7] arm: v7R: Add support for MPU In-Reply-To: <20180425131614.GL31362@bill-the-cat.ec.rr.com> References: <20180425091439.12695-1-lokeshvutla@ti.com> <20180425091439.12695-7-lokeshvutla@ti.com> <20180425131614.GL31362@bill-the-cat.ec.rr.com> Message-ID: <67cb8e38-9d7a-05e5-409f-ecb7dc738fb9@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 4/25/2018 6:46 PM, Tom Rini wrote: > On Wed, Apr 25, 2018 at 02:44:38PM +0530, Lokesh Vutla wrote: > >> 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 >> >> Signed-off-by: Lokesh Vutla >> --- >> arch/arm/Kconfig | 12 ++++ >> arch/arm/cpu/armv7/Makefile | 2 + >> arch/arm/cpu/armv7/mpu_v7r.c | 109 ++++++++++++++++++++++++++++++ >> arch/arm/cpu/armv7m/Makefile | 3 +- >> arch/arm/cpu/armv7m/mpu.c | 41 +---------- >> arch/arm/include/asm/armv7m_mpu.h | 69 +++++++++++++++++++ > > We should rename armv7m_mpu.h to armv7_mpu.h here I think, since we > share it between v7m and v7r. Thanks! > Agreed. Will do it. Thanks and regards, Lokesh