[PATCH 2/8] stm32mp: update the mmu configuration for SPL and prereloc
Tom Rini
trini at konsulko.com
Wed Mar 3 20:08:54 CET 2021
On Fri, Feb 05, 2021 at 01:53:33PM +0100, Patrick Delaunay wrote:
> Overidde the weak function dram_bank_mmu_setup() to set the DDR
> (preloc case) or the SYSRAM (in SPL case) executable before to enable
> the MMU and configure DACR.
>
> This weak function is called in dcache_enable/mmu_setup.
>
> This patchs avoids a permission access issue when the DDR is marked
> executable (by calling mmu_set_region_dcache_behaviour with
> DCACHE_DEFAULT_OPTION) after MMU setup and domain access permission
> activation with DACR in dcache_enable.
>
> Signed-off-by: Patrick Delaunay <patrick.delaunay at foss.st.com>
Applied to u-boot/next, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210303/8fb111a9/attachment.sig>
More information about the U-Boot
mailing list