boot: zephyr: add config for swap without scratch
Add Zephyr option to enable building a bootloader that uses an
alternative swap algorithm, that first moves up all sectors in slot1 and
then directly swaps between slot0 and slot1.
Signed-off-by: Fabio Utzig <utzig@apache.org>
diff --git a/boot/zephyr/prj.conf b/boot/zephyr/prj.conf
index 89e55f5..30af1e4 100644
--- a/boot/zephyr/prj.conf
+++ b/boot/zephyr/prj.conf
@@ -9,6 +9,8 @@
CONFIG_BOOT_ENCRYPT_RSA=n
CONFIG_BOOT_ENCRYPT_EC256=n
+CONFIG_BOOT_UPGRADE_ONLY=n
+CONFIG_BOOT_SWAP_USING_MOVE=n
CONFIG_BOOT_BOOTSTRAP=n
### Default to RSA