Home
last modified time | relevance | path

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

/mcuboot-latest/boot/zephyr/
Dhooks_sample.c29 int boot_read_image_header_hook(int img_index, int slot, in boot_read_image_header_hook() argument
32 if (img_index == 1 && slot == 0) { in boot_read_image_header_hook()
45 fih_ret boot_image_check_hook(int img_index, int slot) in boot_image_check_hook() argument
47 if (img_index == 1 && slot == 0) { in boot_image_check_hook()
54 int boot_perform_update_hook(int img_index, struct image_header *img_head, in boot_perform_update_hook() argument
57 if (img_index == 1) { in boot_perform_update_hook()
80 int boot_copy_region_post_hook(int img_index, const struct flash_area *area, in boot_copy_region_post_hook() argument
86 int boot_serial_uploaded_hook(int img_index, const struct flash_area *area, in boot_serial_uploaded_hook() argument
/mcuboot-latest/boot/bootutil/include/bootutil/
Dboot_hooks.h110 int boot_read_image_header_hook(int img_index, int slot,
125 fih_ret boot_image_check_hook(int img_index, int slot);
140 int boot_perform_update_hook(int img_index, struct image_header *img_head,
159 int boot_copy_region_post_hook(int img_index, const struct flash_area *area,
177 int boot_serial_uploaded_hook(int img_index, const struct flash_area *area,
/mcuboot-latest/boot/espressif/
Dmain.c61 int read_image_header(uint32_t img_index, uint32_t slot, struct image_header *img_header) in read_image_header() argument
67 area_id = flash_area_id_from_multi_image_slot(img_index, slot); in read_image_header()
87 void do_boot_appcpu(uint32_t img_index, uint32_t slot) in do_boot_appcpu() argument
91 if (read_image_header(img_index, slot, &img_header) != 0) { in do_boot_appcpu()
95 start_cpu1_image(img_index, slot, img_header.ih_hdr_size); in do_boot_appcpu()