Skip to content

Commit f9053f1

Browse files
maass-hamburgmkapala-nordic
authored andcommitted
[nrf fromtree] dfu: boot: mcuboot: fix boot_is_img_confirmed
Fix image confirmed for Direct XIP. Signed-off-by: Fin Maaß <[email protected]> (cherry picked from commit e3f9356)
1 parent 2c7f6ef commit f9053f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/dfu/boot/mcuboot.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ bool boot_is_img_confirmed(void)
233233
const struct flash_area *fa;
234234
int rc;
235235

236-
rc = flash_area_open(FLASH_AREA_IMAGE_PRIMARY, &fa);
236+
rc = flash_area_open(ACTIVE_SLOT_FLASH_AREA_ID, &fa);
237237
if (rc) {
238238
return false;
239239
}

0 commit comments

Comments
 (0)