From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Wed, 3 Mar 2021 14:08:54 -0500 Subject: [PATCH 2/8] stm32mp: update the mmu configuration for SPL and prereloc In-Reply-To: <20210205135332.2.I89418f0518a81f98643b36c248b006e596950c25@changeid> References: <20210205125339.24721-1-patrick.delaunay@foss.st.com> <20210205135332.2.I89418f0518a81f98643b36c248b006e596950c25@changeid> Message-ID: <20210303190854.GO1310@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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: