diff --git a/soc/arm/arm/fvp_aemv8r_aarch32/arm_mpu_regions.c b/soc/arm/arm/fvp_aemv8r_aarch32/arm_mpu_regions.c index 5ab918554408d0..e756a81bccc6a3 100644 --- a/soc/arm/arm/fvp_aemv8r_aarch32/arm_mpu_regions.c +++ b/soc/arm/arm/fvp_aemv8r_aarch32/arm_mpu_regions.c @@ -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 */