arch: arm: enable pxn support at arch level
Move PXN support selection to arch so that it is enabled for all Armv8.1-m socs. Signed-off-by: Sudan Landge <sudan.landge@arm.com>
This commit is contained in:
parent
3a4e12899c
commit
8c02ffc6dd
2 changed files with 1 additions and 2 deletions
|
@ -71,6 +71,7 @@ config CUSTOM_SECTION_MIN_ALIGN_SIZE
|
||||||
|
|
||||||
config ARM_MPU_PXN
|
config ARM_MPU_PXN
|
||||||
bool
|
bool
|
||||||
|
default y
|
||||||
depends on ARMV8_1_M_MAINLINE
|
depends on ARMV8_1_M_MAINLINE
|
||||||
help
|
help
|
||||||
Enable support for Armv8.1-m MPU's Privileged Execute Never (PXN) attr.
|
Enable support for Armv8.1-m MPU's Privileged Execute Never (PXN) attr.
|
||||||
|
|
|
@ -15,7 +15,6 @@ config SOC_MPS3_CORSTONE300
|
||||||
select ARMV8_1_M_MVEI
|
select ARMV8_1_M_MVEI
|
||||||
select ARMV8_1_M_MVEF
|
select ARMV8_1_M_MVEF
|
||||||
select ARMV8_1_M_PMU
|
select ARMV8_1_M_PMU
|
||||||
select ARM_MPU_PXN if ARM_MPU
|
|
||||||
|
|
||||||
config SOC_MPS3_CORSTONE310
|
config SOC_MPS3_CORSTONE310
|
||||||
select CPU_CORTEX_M85
|
select CPU_CORTEX_M85
|
||||||
|
@ -26,7 +25,6 @@ config SOC_MPS3_CORSTONE310
|
||||||
select ARMV8_1_M_MVEI
|
select ARMV8_1_M_MVEI
|
||||||
select ARMV8_1_M_MVEF
|
select ARMV8_1_M_MVEF
|
||||||
select ARMV8_1_M_PMU
|
select ARMV8_1_M_PMU
|
||||||
select ARM_MPU_PXN if ARM_MPU
|
|
||||||
|
|
||||||
config ARMV8_1_M_PMU_EVENTCNT
|
config ARMV8_1_M_PMU_EVENTCNT
|
||||||
int
|
int
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue