cfi: fix GDB keep alive bug

Long running CFI writes could cause GDB timeout.

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
__archive__
Øyvind Harboe 2010-05-05 16:18:50 +02:00
parent 31bbb3cf0c
commit 14c112e992
1 changed files with 2 additions and 0 deletions

View File

@ -1232,6 +1232,8 @@ static int cfi_intel_write_block(struct flash_bank *bank, uint8_t *buffer, uint3
buffer += thisrun_count;
address += thisrun_count;
count -= thisrun_count;
keep_alive();
}
/* free up resources */