zephyr: Enable MPU flash writing
Recent Zephyr trees require this config option to be set in order to be
able to write to the flash device. Without it, targets with an MPU
enabled will abort during startup, usually before even printing a
message to the UART.
Signed-off-by: David Brown <david.brown@linaro.org>
diff --git a/boot/zephyr/prj.conf b/boot/zephyr/prj.conf
index caf48f9..515bd55 100644
--- a/boot/zephyr/prj.conf
+++ b/boot/zephyr/prj.conf
@@ -12,6 +12,7 @@
CONFIG_HEAP_MEM_POOL_SIZE=16384
CONFIG_FLASH=y
+CONFIG_MPU_ALLOW_FLASH_WRITE=y
### Disable Bluetooth by default
# CONFIG_BLUETOOTH is not set