Skip to content

Commit

Permalink
[nrf noup] pm: BOOT_UPGRADE_ONLY doesn't need scratch area
Browse files Browse the repository at this point in the history
Scratch area was declared for BOOT_UPGRADE_ONLY unnecessarily.

Signed-off-by: Andrzej Puzdrowski <[email protected]>
(cherry picked from commit d816ab0)
  • Loading branch information
nvlsianpu authored and mbolivar-nordic committed Jun 10, 2021
1 parent 7bbe7f1 commit 262ef98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions boot/zephyr/pm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ mcuboot_primary_app:
mcuboot_primary:
span: [mcuboot_pad, mcuboot_primary_app]

# Partition for secondary slot is not created if building in single applicaton
# Partition for secondary slot is not created if building in single application
# slot configuration.
#if !defined(CONFIG_SINGLE_APPLICATION_SLOT)
mcuboot_secondary:
Expand All @@ -23,7 +23,7 @@ mcuboot_secondary:
after: mcuboot_primary
#endif

#if !defined(CONFIG_BOOT_SWAP_USING_MOVE) && !defined(CONFIG_SINGLE_APPLICATION_SLOT)
#if !defined(CONFIG_BOOT_SWAP_USING_MOVE) && !defined(CONFIG_SINGLE_APPLICATION_SLOT) && !defined(CONFIG_BOOT_UPGRADE_ONLY)
mcuboot_scratch:
size: CONFIG_PM_PARTITION_SIZE_MCUBOOT_SCRATCH
placement:
Expand Down

0 comments on commit 262ef98

Please sign in to comment.