Skip to content

Commit

Permalink
boards: arc: fix the wrong mpu configuration of nsim board
Browse files Browse the repository at this point in the history
fix the wrong mpu configuration.

verified by tests/kernel/mem_protection/userspace

Signed-off-by: Wayne Ren <wei.ren@synopsys.com>
  • Loading branch information
Wayne Ren authored and nashif committed Jul 18, 2018
1 parent bffae85 commit c056340
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions boards/arc/nsim_em/arc_mpu_regions.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ static struct arc_mpu_region mpu_regions[] = {
CONFIG_DCCM_SIZE * 1024,
AUX_MPU_RDP_KW | AUX_MPU_RDP_KR),
#endif
#endif /* ARC_MPU_VER == 3 */
/* Region Peripheral */
MPU_REGION_ENTRY("PERIPHERAL",
0xF0000000,
64 * 1024,
REGION_IO_ATTR),
#endif /* ARC_MPU_VER == 3 */
AUX_MPU_RDP_KW | AUX_MPU_RDP_KR),
};
#else /* CONFIG_USERSPACE */
static struct arc_mpu_region mpu_regions[] = {
Expand Down

0 comments on commit c056340

Please sign in to comment.