]> git.sur5r.net Git - u-boot/commit
armv7m: add MPU configuration support
authorVikas Manocha <vikas.manocha@st.com>
Wed, 3 May 2017 23:38:55 +0000 (16:38 -0700)
committerTom Rini <trini@konsulko.com>
Fri, 12 May 2017 12:37:06 +0000 (08:37 -0400)
commit96b61ab15c3a477ee14bb7e97faa2d8e1cdf3874
treeeaffd6c197f98721b38a699e8adf45db40b49179
parentdf951c4039a1d54fdb3d9b4838c6e4fc8be53cd0
armv7m: add MPU configuration support

Cortex-M archs support option memory protection unit (MPU). MPU is used
to set the memory types, attributes, access permissions for different regions,
cache policies of the device.

e.g. using MPU it is possible to configure memory region as device memory
or strongly ordered, memory attributes like execute never, cache policies
like write-back or write-through.

Signed-off-by: Vikas Manocha <vikas.manocha@st.com>
arch/arm/cpu/armv7m/Makefile
arch/arm/cpu/armv7m/mpu.c [new file with mode: 0644]
arch/arm/include/asm/armv7m.h
arch/arm/include/asm/armv7m_mpu.h [new file with mode: 0644]