Skip to content

Commit 262ef98

Browse files
nvlsianpumbolivar-nordic
authored andcommitted
[nrf noup] pm: BOOT_UPGRADE_ONLY doesn't need scratch area
Scratch area was declared for BOOT_UPGRADE_ONLY unnecessarily. Signed-off-by: Andrzej Puzdrowski <[email protected]> (cherry picked from commit d816ab0)
1 parent 7bbe7f1 commit 262ef98

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

boot/zephyr/pm.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ mcuboot_primary_app:
1313
mcuboot_primary:
1414
span: [mcuboot_pad, mcuboot_primary_app]
1515

16-
# Partition for secondary slot is not created if building in single applicaton
16+
# Partition for secondary slot is not created if building in single application
1717
# slot configuration.
1818
#if !defined(CONFIG_SINGLE_APPLICATION_SLOT)
1919
mcuboot_secondary:
@@ -23,7 +23,7 @@ mcuboot_secondary:
2323
after: mcuboot_primary
2424
#endif
2525

26-
#if !defined(CONFIG_BOOT_SWAP_USING_MOVE) && !defined(CONFIG_SINGLE_APPLICATION_SLOT)
26+
#if !defined(CONFIG_BOOT_SWAP_USING_MOVE) && !defined(CONFIG_SINGLE_APPLICATION_SLOT) && !defined(CONFIG_BOOT_UPGRADE_ONLY)
2727
mcuboot_scratch:
2828
size: CONFIG_PM_PARTITION_SIZE_MCUBOOT_SCRATCH
2929
placement:

0 commit comments

Comments
 (0)