Skip to content
Commit 9cebb3ff authored by Alexandru Lastur's avatar Alexandru Lastur Committed by Benjamin Cabé
Browse files

arm: mpu: Remove FLASH_0 mpu region when XIP=n



When not using CONFIG_XIP (CONFIG_XIP=n)
the FLASH_0 mpu region needs to be removed,
otherwise it will have the default base
address = 0, which means that MPU will try
to configure the region with address 0.
We don't want this as in some situations
address 0 can be a restricted memory region
such as ROM code.

Signed-off-by: default avatarAlexandru Lastur <alexandru.lastur@nxp.com>
parent da43d976
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment