]> git.baikalelectronics.ru Git - uboot.git/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)
commit975f40206bfd8f3120d59997f12ac4e53d8bb66e
treeeaffd6c197f98721b38a699e8adf45db40b49179
parentc063b5c7139518ac9c929c5a566a4aa6ba5071da
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]