Searched refs:fap_scratch (Results 1 – 1 of 1) sorted by relevance
/mcuboot-latest/boot/bootutil/src/ |
D | swap_scratch.c | 551 const struct flash_area *fap_scratch; in boot_swap_sectors() local 611 rc = flash_area_open(FLASH_AREA_IMAGE_SCRATCH, &fap_scratch); in boot_swap_sectors() 616 rc = boot_erase_region(fap_scratch, 0, flash_area_get_size(fap_scratch)); in boot_swap_sectors() 624 rc = swap_status_init(state, fap_scratch, bs); in boot_swap_sectors() 639 rc = boot_erase_region(fap_scratch, 0, in boot_swap_sectors() 640 flash_area_get_size(fap_scratch)); in boot_swap_sectors() 645 rc = boot_copy_region(state, fap_secondary_slot, fap_scratch, in boot_swap_sectors() 682 rc = boot_copy_region(state, fap_scratch, fap_primary_slot, in boot_swap_sectors() 687 scratch_trailer_off = boot_status_off(fap_scratch); in boot_swap_sectors() 690 rc = boot_copy_region(state, fap_scratch, fap_primary_slot, in boot_swap_sectors() [all …]
|