Skip to content

Commit 8c02ffc

Browse files
wearyzenkartben
authored andcommitted
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>
1 parent 3a4e128 commit 8c02ffc

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

arch/arm/core/mpu/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ config CUSTOM_SECTION_MIN_ALIGN_SIZE
7171

7272
config ARM_MPU_PXN
7373
bool
74+
default y
7475
depends on ARMV8_1_M_MAINLINE
7576
help
7677
Enable support for Armv8.1-m MPU's Privileged Execute Never (PXN) attr.

soc/arm/mps3/Kconfig

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ config SOC_MPS3_CORSTONE300
1515
select ARMV8_1_M_MVEI
1616
select ARMV8_1_M_MVEF
1717
select ARMV8_1_M_PMU
18-
select ARM_MPU_PXN if ARM_MPU
1918

2019
config SOC_MPS3_CORSTONE310
2120
select CPU_CORTEX_M85
@@ -26,7 +25,6 @@ config SOC_MPS3_CORSTONE310
2625
select ARMV8_1_M_MVEI
2726
select ARMV8_1_M_MVEF
2827
select ARMV8_1_M_PMU
29-
select ARM_MPU_PXN if ARM_MPU
3028

3129
config ARMV8_1_M_PMU_EVENTCNT
3230
int

0 commit comments

Comments
 (0)