arm: soc: nxp k6x: Add Allow write on Flash

This patch adds the allow flash write CONFIG option to the NXP MPU
configuration in privileged mode.

Signed-off-by: Vincenzo Frascino <vincenzo.frascino@linaro.org>
Signed-off-by: David Brown <david.brown@linaro.org>
This commit is contained in:
Vincenzo Frascino 2017-03-24 20:18:13 +00:00 committed by Kumar Gala
commit 6489b9a0f2
2 changed files with 19 additions and 1 deletions

View file

@ -38,3 +38,10 @@ config NXP_MPU
default n
help
MCU has NXP MPU
config MPU_ALLOW_FLASH_WRITE
bool "Add MPU access to write to flash"
depends on NXP_MPU
default n
help
Enable this to allow MPU RWX access to flash memory