summaryrefslogtreecommitdiff
path: root/arch/arm/lib/cache-cp15.c
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@foss.st.com>2021-02-05 13:53:32 +0100
committerTom Rini <trini@konsulko.com>2021-03-02 15:53:37 -0500
commit1419e5b5167e6ff35882473b81741d0815c453ea (patch)
treec1bbeee7457b47ffbe2f3ee4f802cfe8c61db362 /arch/arm/lib/cache-cp15.c
parent35b65dd8ef3d37a088ee9169763a4d891aed618d (diff)
stm32mp: update MMU config before the relocation
Mark the top of ram, used for relocated U-Boot as a normal memory (cacheable and executable) to avoid permission access issue when U-Boot jumps to this relocated code. When MMU is activated in pre-reloc stage; only the beginning of DDR is marked executable. This patch avoids access issue when DACR is correctly managed. Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Diffstat (limited to 'arch/arm/lib/cache-cp15.c')
0 files changed, 0 insertions, 0 deletions