Skip to content

Commit

Permalink
[nrf noup] pm: enable ram flash partition using common flag
Browse files Browse the repository at this point in the history
This patch makes mcuboot_primary_1 ram-flash partition
selectable using CONFIG_NRF53_MCUBOOT_PRIMARY_1_RAM_FLASH
property. This is needed since CONFIG_NRF53_MULTI_IMAGE_UPDATE
become not only configuration which requires that partition.

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
(cherry picked from commit 8b3d00a)
  • Loading branch information
nvlsianpu authored and mbolivar-nordic committed Sep 6, 2022
1 parent 91b3c6a commit 1d535d0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion boot/zephyr/pm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,13 @@ mcuboot_pad:
align: {start: CONFIG_FPROTECT_BLOCK_SIZE}
#endif

#if (CONFIG_NRF53_MULTI_IMAGE_UPDATE)
#if (CONFIG_NRF53_MCUBOOT_PRIMARY_1_RAM_FLASH)
mcuboot_primary_1:
region: ram_flash
size: CONFIG_NRF53_RAM_FLASH_SIZE
#endif /* CONFIG_NRF53_MULTI_IMAGE_UPDATE */

#if (CONFIG_NRF53_MULTI_IMAGE_UPDATE)
mcuboot_secondary_1:
region: external_flash
size: CONFIG_NRF53_RAM_FLASH_SIZE
Expand Down

0 comments on commit 1d535d0

Please sign in to comment.