boards: nulceo_l552ze_q: Enable MPU on ns target

The bug on TFM that prevented to enable MPU on NS side is
fixed on TFM current version.
MPU can now be safely enabled on NS target.

Fixes: #27809

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
Erwan Gouriou 2020-11-25 09:54:30 +01:00 committed by Ioannis Glaropoulos
commit 610fd27164

View file

@ -38,12 +38,7 @@ CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
# Enable MPU
# Issue #27809
# TFM integration sample tfm_ipc doesn't work when the MPU is enabled.
# In TF-M, for the nucleo_l552ze_q, TFM_BOOT_MPU_PROTECTION configures and
# enables a secure MPU and a non secure MPU. Either CONFIG_ARM_MPU or
# TFM_BOOT_MPU_PROTECTION must be disabled.
#CONFIG_ARM_MPU=y
CONFIG_ARM_MPU=y
CONFIG_ARM_TRUSTZONE_M=y
CONFIG_CORTEX_M_SYSTICK=y