[U-Boot] mach-stm32: Use default memory map as background region
Tom Rini
trini at konsulko.com
Wed Mar 14 14:10:49 UTC 2018
On Wed, Feb 28, 2018 at 05:15:00PM +0100, patrice.chotard at st.com wrote:
> From: Patrice Chotard <patrice.chotard at st.com>
>
> 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 at st.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180314/2fad3f52/attachment.sig>
More information about the U-Boot
mailing list