/mcuboot-3.6.0/boot/mbed/src/ |
D | flash_map_backend.cpp | 90 fap->fa_id = id; in flash_area_open() 113 uint8_t id = fap->fa_id; in flash_area_close() 134 mbed::BlockDevice* bd = flash_map_bd[fap->fa_id]; in flash_area_read() 155 MCUBOOT_LOG_ERR("Invalid read: fa_id %d offset 0x%x len 0x%x", fap->fa_id, in flash_area_read() 162 MCUBOOT_LOG_ERR("Read failed: fa_id %d offset 0x%x len 0x%x", fap->fa_id, in flash_area_read() 172 MCUBOOT_LOG_ERR("Invalid read: fa_id %d offset 0x%x len 0x%x", fap->fa_id, in flash_area_read() 192 mbed::BlockDevice* bd = flash_map_bd[fap->fa_id]; in flash_area_write() 197 mbed::BlockDevice* bd = flash_map_bd[fap->fa_id]; in flash_area_erase() 202 mbed::BlockDevice* bd = flash_map_bd[fap->fa_id]; in flash_area_align() 207 mbed::BlockDevice* bd = flash_map_bd[fap->fa_id]; in flash_area_erased_val() [all …]
|
/mcuboot-3.6.0/boot/nuttx/src/flash_map_backend/ |
D | flash_map_backend.c | 78 .fa_id = FLASH_AREA_IMAGE_PRIMARY(0), 103 .fa_id = FLASH_AREA_IMAGE_SECONDARY(0), 128 .fa_id = FLASH_AREA_IMAGE_SCRATCH, 176 static struct flash_device_s *lookup_flash_device_by_id(uint8_t fa_id) in lookup_flash_device_by_id() argument 184 if (fa_id == dev->fa_cfg->fa_id) in lookup_flash_device_by_id() 351 BOOT_LOG_INF("ID:%" PRIu8, fa->fa_id); in flash_area_close() 353 struct flash_device_s *dev = lookup_flash_device_by_id(fa->fa_id); in flash_area_close() 367 fa->fa_id, dev->refs); in flash_area_close() 374 BOOT_LOG_INF("Flash area %" PRIu8 " closed", fa->fa_id); in flash_area_close() 408 fa->fa_id, off, len); in flash_area_read() [all …]
|
/mcuboot-3.6.0/boot/mbed/include/flash_map_backend/ |
D | flash_map_backend.h | 57 uint8_t fa_id; member 80 return fa->fa_id; in flash_area_get_id() 156 int flash_area_get_sectors(int fa_id, uint32_t *count,
|
/mcuboot-3.6.0/boot/nuttx/include/flash_map_backend/ |
D | flash_map_backend.h | 43 uint8_t fa_id; /* The slot/scratch ID */ member 87 return fa->fa_id; in flash_area_get_id() 370 int flash_area_get_sectors(int fa_id, uint32_t *count,
|
/mcuboot-3.6.0/boot/espressif/include/flash_map_backend/ |
D | flash_map_backend.h | 12 uint8_t fa_id; /** The slot/scratch identification */ member 44 return fa->fa_id; in flash_area_get_id() 77 int flash_area_get_sectors(int fa_id, uint32_t *count,
|
/mcuboot-3.6.0/boot/espressif/port/ |
D | esp_mcuboot.c | 66 .fa_id = FLASH_AREA_BOOTLOADER, 73 .fa_id = FLASH_AREA_IMAGE_PRIMARY(0), 80 .fa_id = FLASH_AREA_IMAGE_SECONDARY(0), 88 .fa_id = FLASH_AREA_IMAGE_PRIMARY(1), 95 .fa_id = FLASH_AREA_IMAGE_SECONDARY(1), 103 .fa_id = FLASH_AREA_IMAGE_SCRATCH, 123 if (id == area->fa_id) { in prv_lookup_flash_area() 354 int flash_area_get_sectors(int fa_id, uint32_t *count, in flash_area_get_sectors() argument 357 const struct flash_area *fa = prv_lookup_flash_area(fa_id); in flash_area_get_sectors()
|
/mcuboot-3.6.0/boot/cypress/cy_flash_pal/ |
D | cy_flash_map.c | 78 .fa_id = FLASH_AREA_BOOTLOADER, 86 .fa_id = FLASH_AREA_IMAGE_PRIMARY(0), 95 .fa_id = FLASH_AREA_IMAGE_SECONDARY(0), 105 .fa_id = FLASH_AREA_IMAGE_SECONDARY(0), 114 .fa_id = FLASH_AREA_IMAGE_PRIMARY(1), 125 .fa_id = FLASH_AREA_IMAGE_SECONDARY(1), 147 .fa_id = FLASH_AREA_IMAGE_SCRATCH, 206 if(id == boot_area_descs[i]->fa_id) in flash_area_open() 492 if(idx == boot_area_descs[i]->fa_id) in flash_area_get_sectors()
|
/mcuboot-3.6.0/sim/mcuboot-sys/csupport/storage/ |
D | flash_map.h | 57 uint8_t fa_id; member 136 int flash_area_get_sectors(int fa_id, uint32_t *count,
|
/mcuboot-3.6.0/boot/cypress/cy_flash_pal/include/flash_map_backend/ |
D | flash_map_backend.h | 74 uint8_t fa_id; member 97 return fa->fa_id; in flash_area_get_id()
|
/mcuboot-3.6.0/sim/mcuboot-sys/csupport/flash_map_backend/ |
D | flash_map_backend.h | 35 return fa->fa_id; in flash_area_get_id()
|
/mcuboot-3.6.0/boot/zephyr/include/flash_map_backend/ |
D | flash_map_backend.h | 77 return fa->fa_id; in flash_area_get_id()
|
/mcuboot-3.6.0/boot/mynewt/flash_map_backend/include/flash_map_backend/ |
D | flash_map_backend.h | 59 return fa->fa_id; in flash_area_get_id()
|
/mcuboot-3.6.0/sim/mcuboot-sys/csupport/ |
D | run.c | 341 __func__, area->fa_id, off, len); in flash_area_read() 349 area->fa_id, off, len); in flash_area_write() 361 area->fa_id, off, len); in flash_area_erase() 399 int flash_area_get_sectors(int fa_id, uint32_t *count, in flash_area_get_sectors() argument 408 if (flash_areas->slots[i].id == fa_id) in flash_area_get_sectors()
|
/mcuboot-3.6.0/boot/bootutil/src/ |
D | swap_scratch.c | 830 int fa_id; in app_max_size() local 837 fa_id = flash_area_id_from_multi_image_slot(BOOT_CURR_IMG(state), active_slot); in app_max_size() 838 rc = flash_area_open(fa_id, &fap); in app_max_size() 849 fa_id = flash_area_id_from_multi_image_slot(BOOT_CURR_IMG(state), active_slot); in app_max_size() 850 rc = flash_area_open(fa_id, &fap); in app_max_size()
|
D | loader.c | 2014 int fa_id; local 2068 fa_id = flash_area_id_from_multi_image_slot(image_index, slot); 2069 rc = flash_area_open(fa_id, &BOOT_IMG_AREA(state, slot)); 2074 "cannot continue", fa_id, image_index, (int8_t)slot, rc); 2377 int fa_id; local 2389 fa_id = flash_area_id_from_multi_image_slot( 2391 rc = flash_area_open(fa_id, &BOOT_IMG_AREA(state, slot)); 2504 int fa_id; local 2511 fa_id = flash_area_id_from_multi_image_slot(BOOT_CURR_IMG(state), active_slot); 2512 rc = flash_area_open(fa_id, &fap);
|
D | bootutil_misc.c | 176 if (fap->fa_id == FLASH_AREA_IMAGE_SCRATCH) { in boot_status_off()
|
/mcuboot-3.6.0/docs/ |
D | PORTING.md | 93 uint8_t fa_id; /** The slot/scratch identification */ 143 /*< Opens the area for use. id is one of the `fa_id`s */ 159 int flash_area_get_sectors(int fa_id, uint32_t *count, 161 /*< Returns the `fa_id` for slot, where slot is 0 (primary) or 1 (secondary). 167 `fa_id` in the `flash_area` struct. */
|