Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/flash/
Dflash_shell.c32 static uint32_t flash_load_boff; variable
597 uint32_t left_to_read = flash_load_total - flash_load_written - flash_load_boff; in bypass_cb()
603 uint32_t buf_copy = MIN(to_copy, flash_load_buf_size - flash_load_boff); in bypass_cb()
605 memcpy(flash_load_buf + flash_load_boff, recv + copied, buf_copy); in bypass_cb()
607 flash_load_boff += buf_copy; in bypass_cb()
611 if (flash_load_boff == flash_load_buf_size) { in bypass_cb()
625 flash_load_boff = 0; in bypass_cb()
633 flash_load_written + flash_load_boff >= flash_load_total) { in bypass_cb()
636 int rc = flash_write(flash_load_dev, addr, flash_load_buf, flash_load_boff); in bypass_cb()
646 flash_load_written += flash_load_boff; in bypass_cb()
[all …]