Skip to content

Commit 6e60200

Browse files
committed
boot: bootutil: bootutil_area: Add debug for adjusted offset
Adds a debug message for when minimal scramble is used with swap using offset, which will show the adjusted offset address Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
1 parent 77a048d commit 6e60200

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

boot/bootutil/src/bootutil_area.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ boot_header_scramble_off_sz(const struct flash_area *fa, int slot, size_t *off,
142142
return ret;
143143
}
144144
loff = flash_sector_get_size(&sector);
145+
BOOT_LOG_DBG("boot_header_scramble_off_sz: adjusted loff %d", loff);
145146
}
146147
#endif
147148

0 commit comments

Comments
 (0)