soc: fvp_aemv8r_aarch32: fix MPU region gap for nocache
When CONFIG_NOCACHE_MEMORY=y, the .nocache section is placed in between __rodata_region_end and _app_smem_start/__kernel_ram_start. Make sure this region is covered by the MPU background region so that the static region for nocache is configured correctly. Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
This commit is contained in:
parent
98d4faf099
commit
35e1f3564d
1 changed files with 1 additions and 5 deletions
|
@ -28,11 +28,7 @@ static const struct arm_mpu_region mpu_regions[] = {
|
|||
|
||||
/* Region 3 zephyr data */
|
||||
MPU_REGION_ENTRY("SRAM_2",
|
||||
#ifdef CONFIG_USERSPACE
|
||||
(uintptr_t)_app_smem_start,
|
||||
#else
|
||||
(uintptr_t)__kernel_ram_start,
|
||||
#endif
|
||||
(uintptr_t)__rom_region_end,
|
||||
REGION_RAM_ATTR((uintptr_t)__kernel_ram_end)),
|
||||
|
||||
/* Region 4 device region */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue