Home
last modified time | relevance | path

Searched refs:fa_size (Results 1 – 19 of 19) sorted by relevance

/mcuboot-3.7.0/boot/zephyr/
Dflash_map_legacy.c72 fa->fa_size); in flash_area_get_sectors()
78 rem_len = fa->fa_size; in flash_area_get_sectors()
83 idx, fa->fa_size, FLASH_AREA_IMAGE_SECTOR_SIZE); in flash_area_get_sectors()
Dflash_map_extended.c165 if (off >= fap->fa_size) { in flash_area_get_sector()
Dmain.c264 rc = flash_area_read(fap, hdr_offset, dst, fap->fa_size - hdr_offset); in copy_img_to_SRAM()
/mcuboot-3.7.0/boot/espressif/port/
Desp_mcuboot.c69 .fa_size = BOOTLOADER_SIZE,
76 .fa_size = APPLICATION_SIZE,
83 .fa_size = APPLICATION_SIZE,
91 .fa_size = APPLICATION_SIZE,
98 .fa_size = APPLICATION_SIZE,
106 .fa_size = SCRATCH_SIZE,
198 if (end_offset > fa->fa_size) { in flash_area_read()
199 BOOT_LOG_ERR("%s: Out of Bounds (0x%x vs 0x%x)", __func__, end_offset, fa->fa_size); in flash_area_read()
280 if (end_offset > fa->fa_size) { in flash_area_write()
281 BOOT_LOG_ERR("%s: Out of Bounds (0x%x vs 0x%x)", __func__, end_offset, fa->fa_size); in flash_area_write()
[all …]
/mcuboot-3.7.0/boot/cypress/cy_flash_pal/
Dcy_flash_map.c81 .fa_size = CY_BOOT_BOOTLOADER_SIZE
89 .fa_size = CY_BOOT_PRIMARY_1_SIZE
100 .fa_size = CY_BOOT_SECONDARY_1_SIZE
108 .fa_size = CY_BOOT_SECONDARY_1_SIZE
120 .fa_size = CY_BOOT_PRIMARY_2_SIZE
139 .fa_size = CY_BOOT_SECONDARY_2_SIZE
162 .fa_size = CY_BOOT_SCRATCH_SIZE
526 sectors_n = (fa->fa_size + (sector_size - 1)) / sector_size; in flash_area_get_sectors()
/mcuboot-3.7.0/boot/mbed/include/flash_map_backend/
Dflash_map_backend.h75 uint32_t fa_size; member
95 return fa->fa_size; in flash_area_get_size()
/mcuboot-3.7.0/boot/nuttx/src/flash_map_backend/
Dflash_map_backend.c81 .fa_size = 0,
106 .fa_size = 0,
131 .fa_size = 0,
314 dev->fa_cfg->fa_size = dev->partinfo.numsectors * dev->partinfo.sectorsize; in flash_area_open()
317 BOOT_LOG_INF("Flash area size: %" PRIu32, dev->fa_cfg->fa_size); in flash_area_open()
414 if (off + len > fa->fa_size) in flash_area_read()
482 if (off + len > fa->fa_size) in flash_area_write()
671 for (off = 0; off < fa->fa_size; off += sector_size) in flash_area_get_sectors()
/mcuboot-3.7.0/boot/nuttx/include/flash_map_backend/
Dflash_map_backend.h47 uint32_t fa_size; /* The size of this sector */ member
164 return fa->fa_size; in flash_area_get_size()
/mcuboot-3.7.0/boot/espressif/include/flash_map_backend/
Dflash_map_backend.h16 uint32_t fa_size; /** The size of this sector */ member
39 return (uint32_t)fa->fa_size; in flash_area_get_size()
/mcuboot-3.7.0/boot/cypress/cy_flash_pal/include/flash_map_backend/
Dflash_map_backend.h92 uint32_t fa_size; member
112 return fa->fa_size; in flash_area_get_size()
/mcuboot-3.7.0/sim/mcuboot-sys/csupport/flash_map_backend/
Dflash_map_backend.h13 return (uint32_t)fa->fa_size; in flash_area_get_size()
/mcuboot-3.7.0/boot/zephyr/include/flash_map_backend/
Dflash_map_backend.h72 return (uint32_t)fa->fa_size; in flash_area_get_size()
/mcuboot-3.7.0/boot/mynewt/flash_map_backend/include/flash_map_backend/
Dflash_map_backend.h78 return fa->fa_size; in flash_area_get_size()
/mcuboot-3.7.0/sim/mcuboot-sys/csupport/storage/
Dflash_map.h75 uint32_t fa_size; member
/mcuboot-3.7.0/sim/mcuboot-sys/csupport/
Drun.c426 sectors[i].fs_size = slot->areas[i].fa_size; in flash_area_get_sectors()
472 sec_size = slot->areas[i].fa_size; in flash_area_sector_from_off()
506 sec_size = slot->areas[i].fa_size; in flash_area_get_sector()
/mcuboot-3.7.0/boot/mbed/src/
Dflash_map_backend.cpp108 fap->fa_size = (uint32_t) bd->size(); in flash_area_open()
/mcuboot-3.7.0/boot/boot_serial/src/
Dboot_serial_encryption.c273 sect_count = fa_p->fa_size / sect_size; in decrypt_image_inplace()
/mcuboot-3.7.0/docs/
DPORTING.md97 uint32_t fa_size; /** The size of this sector */
/mcuboot-3.7.0/boot/bootutil/src/
Dloader.c1059 if (reset_value < pri_fa->fa_off || reset_value> (pri_fa->fa_off + pri_fa->fa_size)) { in boot_validate_slot()
1069 flash_area_erase(fap, 0, fap->fa_size); in boot_validate_slot()