Skip to content

Commit e72408e

Browse files
de-nordicjukkar
authored andcommitted
[nrf noup] loader: Use BOOT_SLOT_PRIMARY and BOOT_SLOT_SECONDARY
nrf-squash! [nrf noup] boot: nrf53-specific customizations The commit replaces BOOT_PRIMARY_SLOT and BOOT_SECONDARY_SLOT with BOOT_SLOT_PRIMARY and BOOT_SLOT_SECONDARY respectively. Signed-off-by: Dominik Ermel <[email protected]>
1 parent a72f4f3 commit e72408e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boot/bootutil/src/loader.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1461,7 +1461,7 @@ boot_validated_swap_type(struct boot_loader_state *state,
14611461

14621462
#if defined(PM_S1_ADDRESS) || defined(PM_CPUNET_B0N_ADDRESS)
14631463
const struct flash_area *secondary_fa =
1464-
BOOT_IMG_AREA(state, BOOT_SECONDARY_SLOT);
1464+
BOOT_IMG_AREA(state, BOOT_SLOT_SECONDARY);
14651465
struct image_header *hdr = boot_img_hdr(state, BOOT_SECONDARY_SLOT);
14661466
uint32_t reset_addr = 0;
14671467
int rc = 0;

0 commit comments

Comments
 (0)