Skip to content

Commit 09be783

Browse files
hakonfamutzig
authored andcommitted
zephyr: use move swap instead of scratch for nRF devices
Signed-off-by: Håkon Øye Amundsen <[email protected]>
1 parent 54c1e3f commit 09be783

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

boot/zephyr/Kconfig

+1
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ config BOOT_UPGRADE_ONLY
128128

129129
config BOOT_SWAP_USING_MOVE
130130
bool "Swap mode that can run without a scratch partition"
131+
default y if SOC_FAMILY_NRF
131132
default n
132133
help
133134
If y, the swap upgrade is done in two steps, where first every

boot/zephyr/prj.conf

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ CONFIG_BOOT_ENCRYPT_RSA=n
1111
CONFIG_BOOT_ENCRYPT_EC256=n
1212

1313
CONFIG_BOOT_UPGRADE_ONLY=n
14-
CONFIG_BOOT_SWAP_USING_MOVE=n
1514
CONFIG_BOOT_BOOTSTRAP=n
1615

1716
### Default to RSA

0 commit comments

Comments
 (0)