commit | c9b0dc38efdb6b1481afdd3bebd1a59a3cfc497a | [log] [tgz] |
---|---|---|
author | Patrick Delaunay <patrick.delaunay@foss.st.com> | Fri Feb 05 13:53:32 2021 +0100 |
committer | Tom Rini <trini@konsulko.com> | Tue Mar 02 15:53:37 2021 -0500 |
tree | c1bbeee7457b47ffbe2f3ee4f802cfe8c61db362 | |
parent | 6f14d5fafea4a9b42fe2eef74d3458c60e3a862d [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>