Searched refs:curr_off (Results 1 – 1 of 1) sorted by relevance
779 static uint32_t curr_off; /* Expected current offset */ in bs_upload() local866 curr_off = 0; in bs_upload()907 } else if (img_chunk_off != curr_off) { in bs_upload()914 } else if (curr_off + img_chunk_len > img_size) { in bs_upload()924 curr_off + img_chunk_len - 1); in bs_upload()940 if (curr_off + img_chunk_len + rem_bytes < img_size) { in bs_upload()944 BOOT_LOG_DBG("Writing at 0x%x until 0x%x", curr_off, curr_off + (uint32_t)img_chunk_len); in bs_upload()961 rc = flash_area_write(fap, curr_off, wbs_aligned, write_size); in bs_upload()967 curr_off += write_size; in bs_upload()972 rc = flash_area_write(fap, curr_off, img_chunk, img_chunk_len); in bs_upload()[all …]