Skip to content

Commit

Permalink
[nrf fromtree] dfu: boot: mcuboot: fix boot_is_img_confirmed
Browse files Browse the repository at this point in the history
Fix image confirmed for Direct XIP.

Signed-off-by: Fin Maaß <[email protected]>
(cherry picked from commit e3f9356)
  • Loading branch information
maass-hamburg authored and nordicjm committed Jan 14, 2025
1 parent 3098bb2 commit fb23112
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subsys/dfu/boot/mcuboot.c
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ bool boot_is_img_confirmed(void)
const struct flash_area *fa;
int rc;

rc = flash_area_open(FLASH_AREA_IMAGE_PRIMARY, &fa);
rc = flash_area_open(ACTIVE_SLOT_FLASH_AREA_ID, &fa);
if (rc) {
return false;
}
Expand Down

0 comments on commit fb23112

Please sign in to comment.