boot_serial: Use flash sectors from bootloader state when possible
When swap-offset is used, the bs_list and bs_set routines need to
determine the size of the flash sectors. Now a valid bootloader state is
available, the value can directly be retrieved using
boot_img_sector_size.
Signed-off-by:
Thomas Altenbach <thomas.altenbach@legrand.com>
Loading
Please sign in to comment