u-boot/arch/arm/mach-stm32
Patrice Chotard f5bd13ed57 mach-stm32: Use default memory map as background region
On linux kernel side, on STM32F7 and STM32H7 SoCs, DMA requires
uncachable regions. These regions are defined in DT.
Since kernel linux v4.15, on ARMv7-M Cortex, kernel is able
to configure MPU regions depending on DT settings.

As kernel is able to configure MPU, this allows to remove
MPU region settings in bootloader.

On Cortex M processors, MPU allows to use a default memory map.
(see B3.5.4 MPU Control Register, MPU_CTRL in
https://developer.arm.com/products/architecture/m-profile/docs/ddi0403/latest/armv7-m-architecture-reference-manual)
Use the default memory map as background region for all STM32 SoCs
family with an additional MPU region corresponding to the SDRAM area.

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
2018-03-13 21:45:37 -04:00
..
stm32f4 board: stm32: switch to DM STM32 timer 2018-03-13 21:45:37 -04:00
stm32f7 board: stm32: switch to DM STM32 timer 2018-03-13 21:45:37 -04:00
stm32h7 mach-stm32: Factorize MPU's region config for STM32 SoCs 2017-11-29 22:30:50 -05:00
Kconfig board: stm32: switch to DM STM32 timer 2018-03-13 21:45:37 -04:00
Makefile board: stm32: switch to DM STM32 timer 2018-03-13 21:45:37 -04:00
soc.c mach-stm32: Use default memory map as background region 2018-03-13 21:45:37 -04:00