Commit 07ba28f0 authored by Rajavardhan Gundi's avatar Rajavardhan Gundi Committed by Fabio Utzig
Browse files

MPU_ALLOW_FLASH_WRITE is defined only for ARM platforms.

Remove MPU_ALLOW_FLASH_WRITE from prj.conf and put it in
boot/zephyr/Kconfig enabling it only for every ARM_MPU
equipped device.

Signed-off-by: default avatarRajavardhan Gundi <rajavardhan.gundi@intel.com>
parent 40c28e36
Loading
Loading
Loading
Loading
+1
Changes for boot/zephyr/Kconfig: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -11,6 +11,7 @@ comment "MCUboot-specific configuration options"
config MCUBOOT
	default y
	bool
	select MPU_ALLOW_FLASH_WRITE if ARM_MPU

config BOOT_USE_MBEDTLS
	bool
−1
Changes for boot/zephyr/prj.conf: 0 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -30,7 +30,6 @@ CONFIG_BOOT_SIGNATURE_KEY_FILE="root-rsa-2048.pem"
# CONFIG_TINYCRYPT_SHA256 is not set

CONFIG_FLASH=y
CONFIG_MPU_ALLOW_FLASH_WRITE=y

CONFIG_MULTITHREADING=n