Skip to content
Commit 3926134f authored by Daniel DeGrasse's avatar Daniel DeGrasse Committed by Carles Cufí
Browse files

arch: arm: mpu: Make XN bit conditional on CONFIG_XIP for RAM region



Make the execute never (XN) bit conditonal on CONFIG_XIP for the RAM MPU
region attribute. This is required because when CONFIG_XIP is not set,
the entire image will be linked into SRAM. In this case, SRAM must be
executable.

Signed-off-by: default avatarDaniel DeGrasse <daniel.degrasse@nxp.com>
parent 654aa9ba
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment