Skip to content

Commit

Permalink
arc: mpu version can be 3
Browse files Browse the repository at this point in the history
axs103_hs36's mpu_version is 3, although it's not supported
now (no mpu in hs)

Signed-off-by: Wayne Ren <wei.ren@synopsys.com>
  • Loading branch information
Wayne Ren committed Aug 9, 2018
1 parent b206abf commit 4646b2d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions inc/arc/arc_mpu.h
Expand Up @@ -53,6 +53,8 @@
#define AUX_MPU_ATTR_MASK (0xFFB)
#elif ARC_FEATURE_MPU_VERSION == 4
#define AUX_MPU_ATTR_MASK (0xFF81F9)
#else
#define AUX_MPU_ATTR_MASK (0xFFFFFFFF)
#endif

#define AUX_MPU_ATTR_UE 0x008 /* allow user execution */
Expand Down

0 comments on commit 4646b2d

Please sign in to comment.