Skip to content

Commit e1b4677

Browse files
committed
boot: zephyr: Set prefer swap using move for aligned boards
To prevent breakage when the default mode changes to swap using offset, any board that is current set up to have more sectors in slot0 has been excluded from the move Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
1 parent 37bc4aa commit e1b4677

File tree

6 files changed

+13
-0
lines changed

6 files changed

+13
-0
lines changed

boot/zephyr/boards/ctcc_nrf52840.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,6 @@ CONFIG_MULTITHREADING=y
1818
# USB
1919
CONFIG_USB_DEVICE_STACK=y
2020
CONFIG_USB_DEVICE_REMOTE_WAKEUP=n
21+
22+
# Partitions set up for swap using move
23+
CONFIG_BOOT_PREFER_SWAP_MOVE=y
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Partitions set up for swap using move
2+
CONFIG_BOOT_PREFER_SWAP_MOVE=y

boot/zephyr/boards/it8xxx2_evb.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Partitions set up for swap using move
2+
CONFIG_BOOT_PREFER_SWAP_MOVE=y
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Partitions set up for swap using move
2+
CONFIG_BOOT_PREFER_SWAP_MOVE=y
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Partitions set up for swap using move
2+
CONFIG_BOOT_PREFER_SWAP_MOVE=y
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Partitions set up for swap using move
2+
CONFIG_BOOT_PREFER_SWAP_MOVE=y

0 commit comments

Comments
 (0)