Home
last modified time | relevance | path

Searched refs:fap_primary_slot (Results 1 – 2 of 2) sorted by relevance

/mcuboot-3.7.0/boot/bootutil/src/
Dswap_scratch.c488 const struct flash_area *fap_primary_slot; in boot_swap_sectors() local
543 &fap_primary_slot); in boot_swap_sectors()
571 rc = swap_erase_trailer_sectors(state, fap_primary_slot); in boot_swap_sectors()
574 rc = swap_status_init(state, fap_primary_slot, bs); in boot_swap_sectors()
597 rc = boot_copy_region(state, fap_primary_slot, fap_secondary_slot, in boot_swap_sectors()
615 rc = boot_erase_region(fap_primary_slot, img_off, sz); in boot_swap_sectors()
621 rc = boot_copy_region(state, fap_scratch, fap_primary_slot, in boot_swap_sectors()
629 rc = boot_copy_region(state, fap_scratch, fap_primary_slot, in boot_swap_sectors()
638 rc = boot_write_image_ok(fap_primary_slot); in boot_swap_sectors()
643 rc = boot_write_swap_info(fap_primary_slot, in boot_swap_sectors()
[all …]
Dloader.c1341 const struct flash_area *fap_primary_slot; in boot_copy_image() local
1366 &fap_primary_slot); in boot_copy_image()
1376 rc = boot_erase_region(fap_primary_slot, size, this_size); in boot_copy_image()
1400 rc = boot_erase_region(fap_primary_slot, off, sz); in boot_copy_image()
1421 rc = boot_copy_region(state, fap_secondary_slot, fap_primary_slot, 0, 0, size); in boot_copy_image()
1427 rc = boot_write_magic(fap_primary_slot); in boot_copy_image()
1475 flash_area_close(fap_primary_slot); in boot_copy_image()