Skip to content
Commit 1419e5b5 authored by Patrick Delaunay's avatar Patrick Delaunay Committed by Tom Rini
Browse files

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: default avatarPatrick Delaunay <patrick.delaunay@foss.st.com>
parent 35b65dd8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment