Skip to content

Commit 1d535d0

Browse files
nvlsianpumbolivar-nordic
authored andcommittedSep 6, 2022
[nrf noup] pm: enable ram flash partition using common flag
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)
1 parent 91b3c6a commit 1d535d0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎boot/zephyr/pm.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,13 @@ mcuboot_pad:
7373
align: {start: CONFIG_FPROTECT_BLOCK_SIZE}
7474
#endif
7575

76-
#if (CONFIG_NRF53_MULTI_IMAGE_UPDATE)
76+
#if (CONFIG_NRF53_MCUBOOT_PRIMARY_1_RAM_FLASH)
7777
mcuboot_primary_1:
7878
region: ram_flash
7979
size: CONFIG_NRF53_RAM_FLASH_SIZE
80+
#endif /* CONFIG_NRF53_MULTI_IMAGE_UPDATE */
8081

82+
#if (CONFIG_NRF53_MULTI_IMAGE_UPDATE)
8183
mcuboot_secondary_1:
8284
region: external_flash
8385
size: CONFIG_NRF53_RAM_FLASH_SIZE

0 commit comments

Comments
 (0)
Please sign in to comment.