cfi: fix GDB keep alive bug

Long running CFI writes could cause GDB timeout.

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
This commit is contained in:
Øyvind Harboe 2010-05-05 16:18:50 +02:00
parent 31bbb3cf0c
commit 14c112e992

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 */