cfi: fix GDB keep alive bug
Long running CFI writes could cause GDB timeout. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>__archive__
parent
31bbb3cf0c
commit
14c112e992
|
@ -1232,6 +1232,8 @@ static int cfi_intel_write_block(struct flash_bank *bank, uint8_t *buffer, uint3
|
||||||
buffer += thisrun_count;
|
buffer += thisrun_count;
|
||||||
address += thisrun_count;
|
address += thisrun_count;
|
||||||
count -= thisrun_count;
|
count -= thisrun_count;
|
||||||
|
|
||||||
|
keep_alive();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* free up resources */
|
/* free up resources */
|
||||||
|
|
Loading…
Reference in New Issue