Skip to content

Commit ea6bb5c

Browse files
de-nordicjukkar
authored andcommitted
[nrf noup] loader: Use BOOT_SLOT_PRIMARY and BOOT_SLOT_SECONDARY
nrf-squash! [nrf noup] treewide: add NCS partition manager support 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 2b997f2 commit ea6bb5c

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
@@ -2951,7 +2951,7 @@ context_boot_go(struct boot_loader_state *state, struct boot_rsp *rsp)
29512951
if (!image_validated_by_nsib)
29522952
#endif
29532953
{
2954-
FIH_CALL(boot_validate_slot, fih_rc, state, BOOT_PRIMARY_SLOT, NULL, 0);
2954+
FIH_CALL(boot_validate_slot, fih_rc, state, BOOT_SLOT_PRIMARY, NULL, 0);
29552955
/* Check for all possible values is redundant in normal operation it
29562956
* is meant to prevent FI attack.
29572957
*/

0 commit comments

Comments
 (0)