Searched refs:curr_off (Results 1 – 1 of 1) sorted by relevance
92 static uint32_t curr_off; variable284 curr_off = 0; in bs_upload()296 if (off != curr_off) { in bs_upload()301 if (curr_off + img_blen > img_size) { in bs_upload()308 if ((curr_off + img_blen < img_size) && rem_bytes) { in bs_upload()314 rc = flash_area_sector_from_off(curr_off + img_blen, §or); in bs_upload()330 BOOT_LOG_INF("Writing at 0x%x until 0x%x", curr_off, curr_off + img_blen); in bs_upload()337 rc = flash_area_write(fap, curr_off, img_data, w_size); in bs_upload()341 curr_off += w_size; in bs_upload()350 rc = flash_area_write(fap, curr_off, wbs_aligned, flash_area_align(fap)); in bs_upload()[all …]