Home
last modified time | relevance | path

Searched refs:fap_src (Results 1 – 3 of 3) sorted by relevance

/mcuboot-latest/boot/bootutil/src/
Dram_load.c128 const struct flash_area *fap_src = NULL; in boot_decrypt_and_copy_image_to_sram() local
143 rc = flash_area_open(area_id, &fap_src); in boot_decrypt_and_copy_image_to_sram()
151 rc = flash_area_read(fap_src, 0, ram_dst, src_sz); in boot_decrypt_and_copy_image_to_sram()
156 rc = boot_enc_load(state, slot, hdr, fap_src, &bs); in boot_decrypt_and_copy_image_to_sram()
191 flash_area_close(fap_src); in boot_decrypt_and_copy_image_to_sram()
213 const struct flash_area *fap_src = NULL; in boot_copy_image_to_sram() local
222 rc = flash_area_open(area_id, &fap_src); in boot_copy_image_to_sram()
228 rc = flash_area_read(fap_src, 0, (void *)(IMAGE_RAM_BASE + img_dst), img_sz); in boot_copy_image_to_sram()
234 flash_area_close(fap_src); in boot_copy_image_to_sram()
Dbootutil_priv.h328 const struct flash_area *fap_src,
333 const struct flash_area *fap_src,
Dloader.c1320 const struct flash_area *fap_src, argument
1325 const struct flash_area *fap_src,
1359 encrypted_src = (flash_area_get_id(fap_src) != FLASH_AREA_IMAGE_PRIMARY(image_index));
1388 rc = flash_area_read(fap_src, off_src + bytes_copied, buf, chunk_sz);