u-boot-brain/arch/arm/mach-stm32mp
Patrick Delaunay aad8414794 stm32mp: update the mmu configuration for SPL and prereloc
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@foss.st.com>
2021-03-02 15:53:37 -05:00
..
cmd_stm32prog common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
include/mach arm: stm32: cleanup arch gpio.h 2020-10-21 18:12:20 +02:00
boot_params.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
bsec.c arm: stm32mp: bsec: migrate trace to log macro 2021-01-13 09:52:58 +01:00
cmd_stm32key.c arm: stm32mp: migrate trace to log macro 2021-01-13 09:52:58 +01:00
config.mk Makefile: Rename ALL-y to INPUTS-y 2020-07-28 19:30:39 -06:00
cpu.c stm32mp: update the mmu configuration for SPL and prereloc 2021-03-02 15:53:37 -05:00
dram_init.c stm32mp: update MMU config before the relocation 2021-03-02 15:53:37 -05:00
fdt.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
Kconfig stm32mp: limit size of cacheable DDR in pre-reloc stage 2020-10-21 18:12:20 +02:00
Makefile arm: stm32mp: spl: add bsec driver in SPL 2020-07-07 16:01:23 +02:00
psci.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
pwr_regulator.c arm: stm32mp: migrate trace to log macro 2021-01-13 09:52:58 +01:00
spl.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
syscon.c stm32mp1: pwr: use the last binding for pwr 2020-02-13 17:26:22 +01:00